-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
59 lines (56 loc) · 999 Bytes
/
docker-compose.yaml
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
54
55
56
57
58
59
version: "3"
services:
api:
container_name: cboe-api-1
build:
dockerfile: Dockerfile.api
ports:
- 8001:8001
networks:
- cboe
restart: always
depends_on:
- redis
- postgres
client:
container_name: cboe-client-1
build:
dockerfile: Dockerfile.client
tty: true
ports:
- 3000:3000
networks:
- cboe
restart: always
depends_on:
- api
postgres:
container_name: cboe-postgres-1
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: cboe
ports:
- 5432:5432
networks:
- cboe
volumes:
- cboe-postgres:/var/lib/postgresql/data
restart: always
redis:
container_name: cboe-redis-1
image: redis
ports:
- 6379:6379
networks:
- cboe
volumes:
- cboe-redis:/data
restart: always
networks:
cboe:
driver: bridge
volumes:
cboe-redis:
cboe-postgres: