-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
44 lines (44 loc) · 945 Bytes
/
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
version: "3.8"
services:
envoy:
build:
context: .
dockerfile: ./Dockerfile.envoy
ports:
- 9090:9090
- 9901:9901
db:
build:
context: .
dockerfile: ./Dockerfile.firestore
ports:
- 8000:8000
- 4000:4000
volumes:
# - .cache/firebase/emulators/:/app/.cache/firebase/emulators/
- .:/app
server:
build:
context: .
target: dev
dockerfile: ./server/Dockerfile
tty: true
expose:
- 8080
ports:
- 8080:8080
environment:
PROJECT_ID: foo
FIRESTORE_EMULATOR_HOST: host.docker.internal:8000
command: ["air"]
volumes:
- ./server:/go/src/app
client:
build:
context: .
dockerfile: ./Dockerfile.client
expose:
- 3000
ports:
- 3000:3000
command: ["npm", "run", "start"]