-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (49 loc) · 1.23 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
54
55
version: '3.9'
services:
user:
build: ./user-service
container_name: user_service
command: bash -c "python3 manage.py migrate && python3 manage.py runserver 0.0.0.0:8001"
ports:
- "8001:8001"
restart: always
networks:
- cluster_network
userinteraction:
build: ./user-interaction-service
container_name: user_interaction_service
command: bash -c "python3 manage.py migrate && python3 manage.py runserver 0.0.0.0:8002"
ports:
- "8002:8002"
restart: always
networks:
- cluster_network
# volumes:
# - .:/home/app/auth_sdk_dist
content:
build: ./content-service
container_name: content_service
command: bash -c "python3 manage.py migrate && python3 manage.py runserver 0.0.0.0:8003"
ports:
- "8003:8003"
restart: always
networks:
- cluster_network
# volumes:
# - ./auth-sdk/dist:/home/app/auth_sdk_dist
ngnix:
# image: nginx:latest
build: ./nginx
# command: bash -c "nginx -t"
ports:
- "8000:8000"
networks:
- cluster_network
depends_on:
- user
- userinteraction
- content
# volumes:
# - ./nginx/config.conf:/etc/nginx/nginx.conf
networks:
cluster_network: