-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 826 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (31 loc) · 826 Bytes
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
version: "3"
services:
api:
container_name: fatec-game-backned-container
image: node:16.17.0
working_dir: /usr/src/fatec-game-backend
restart: always
command: bash -c "npm i --omit=dev --silent && npm run debug"
volumes:
- ./:/usr/src/fatec-game-backend/
- '/usr/src/fatec-game-backend/node_modules'
ports:
- "3000:3000"
- "9222:9222"
firebase-emulator:
container_name: firebase-emulator-container
build:
context: .
dockerfile: Dockerfile.firebase.emulator
image: firebase-emulator:firebase-emulator
volumes:
- .:/src
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:4000" ]
interval: 30s
timeout: 10s
retries: 5
ports:
- 4000:4000
- 9000:9000
command: firebase emulators:start