forked from ParabolInc/parabol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (52 loc) · 1.01 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
version: "3.7"
services:
db:
image: rethinkdb:2.4.2
ports:
- "8080:8080"
- "29015:29015"
- "28015:28015"
volumes:
- rethink-data:/data
networks:
- parabol-network
postgres:
image: postgres:12.10
restart: always
env_file: .env
ports:
- "5432:5432"
volumes:
- "./packages/server/postgres/postgres.conf:/usr/local/etc/postgres/postgres.conf"
- "postgres-data:/data"
command: "postgres -c config_file=/usr/local/etc/postgres/postgres.conf"
networks:
- parabol-network
redis:
image: redis:6
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- parabol-network
app:
build:
context: .
dockerfile: ./docker/Dockerfile.prod
target: prod
env_file: .env
ports:
- "3000:3000"
depends_on:
- db
- redis
- postgres
networks:
- parabol-network
networks:
parabol-network:
volumes:
redis-data: {}
rethink-data: {}
postgres-data: {}