Skip to content

Commit 6e27d01

Browse files
authored
Update docker-compose.prod.yml
1 parent d1d4380 commit 6e27d01

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docker-compose.prod.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ services:
1414
timeout: 5s
1515
retries: 3
1616

17-
loadbalancer:
18-
container_name: loadbalancer
17+
load-balancer:
18+
container_name: lb-container
1919
ports:
2020
- "4242:4242"
2121
build:
@@ -70,7 +70,7 @@ services:
7070
collaborative-room2:
7171
container_name: collaborative-room2
7272
ports:
73-
- "9001:9002"
73+
- "9002:9002"
7474
build:
7575
target: production
7676
environment:
@@ -131,11 +131,16 @@ services:
131131
depends_on:
132132
api:
133133
condition: service_started
134+
collaborative-room1:
135+
condition: service_started
136+
collaborative-room2:
137+
condition: service_started
138+
load-balancer:
139+
condition: service_started
134140
ports:
135141
- "80:80"
136142
environment:
137143
- NODE_ENV=production
138-
- BACKEND_URL=http://backend:3000
139144
extra_hosts:
140145
- "db-host:${DATABASE_HOST}"
141146
networks:

0 commit comments

Comments
 (0)