-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdocker-compose.yml
53 lines (53 loc) · 1.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# docker-compose.yml
services:
postgres:
restart: always
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_USER=user
- POSTGRES_DB=db
image: postgres:latest
ports:
- 5433:5432
redis:
container_name: redis
image: redis:latest
command: ["redis-server", "--bind", "redis", "--port", "6379"]
speql8:
container_name: speql8
image: speql8:latest
depends_on:
- redis
build: ./
volumes:
- ./:/usr/src/app
ports:
- 3333:3333
- 4000:4000
- 4001:4001
- 4002:4002
- 4003:4003
- 4004:4004
- 4005:4005
- 4006:4006
- 4007:4007
- 4008:4008
- 4009:4009
- 4010:4010
- 4011:4011
- 4012:4012
- 4013:4013
- 4014:4014
- 4015:4015
- 4016:4016
- 4017:4017
- 4018:4018
- 4019:4019
- 4020:4020
- 4021:4021
- 4022:4022
- 4032:4023
environment:
- NODE_ENV=production
- PORT=3333
command: sh -c 'npm i && npm run build && npm start'