Skip to content

Commit 698ce35

Browse files
committed
resolve conflict
1 parent 814758a commit 698ce35

File tree

1 file changed

+0
-51
lines changed

1 file changed

+0
-51
lines changed

docker-compose.yaml

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,6 @@ services:
7676
networks:
7777
- match-db-network
7878

79-
collab-db:
80-
hostname: 'collab-db'
81-
image: postgres:16.4
82-
container_name: 'collab-db'
83-
env_file:
84-
- ./backend/collaboration/.env.local
85-
volumes:
86-
- 'collab-db-docker:${COLLAB_PGDATA}'
87-
restart: unless-stopped
88-
networks:
89-
- collab-db-network
90-
healthcheck:
91-
test: ['CMD-SHELL', 'pg_isready -U peerprep-collab-express -d collab']
92-
interval: 10s
93-
retries: 5
94-
start_period: 30s
95-
timeout: 10s
96-
9779
# Services
9880
user-service:
9981
image: 'user-express'
@@ -219,37 +201,6 @@ services:
219201
retries: 5
220202
start_period: 5s
221203

222-
collab-service:
223-
image: 'collab-express'
224-
container_name: '${COLLAB_SERVICE_NAME}'
225-
build:
226-
context: ./backend/collaboration
227-
dockerfile: express.Dockerfile
228-
target: production
229-
args:
230-
# For building with the correct env vars
231-
- port=${COLLAB_EXPRESS_PORT}
232-
env_file:
233-
- ./backend/collaboration/.env.compose
234-
environment:
235-
# Docker Compose Specific for Service Discovery
236-
- EXPRESS_DB_HOST=collab-db
237-
- EXPRESS_DB_PORT=5432
238-
- PEERPREP_UI_HOST=http://${FRONTEND_SERVICE_NAME}:${FRONTEND_PORT}
239-
depends_on:
240-
collab-db:
241-
condition: service_healthy
242-
restart: true
243-
networks:
244-
- collab-db-network
245-
- collab-ws-network
246-
healthcheck:
247-
test: wget --no-verbose --tries=1 --spider http://localhost:${COLLAB_EXPRESS_PORT}/health || exit 1
248-
interval: 30s
249-
timeout: 10s
250-
retries: 5
251-
start_period: 5s
252-
253204
# Frontend
254205
frontend:
255206
image: 'frontend'
@@ -296,8 +247,6 @@ volumes:
296247
# Redis Match server
297248
match-db-docker:
298249
external: true
299-
collab-db-docker:
300-
external: true
301250

302251
networks:
303252
# Isolated API Server Networks

0 commit comments

Comments
 (0)