forked from jak103/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 877 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (35 loc) · 877 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
32
33
34
35
36
37
38
version: '3.6'
services:
client:
image: node:12-slim
build: ./client
container_name: vue-client
working_dir: /client
volumes:
- ./client:/client
command: npm run-script install-serve
#command: bash -c "sleep infinity"
ports:
- 3000:3000
environment:
NODE_ENV: development
server:
image: golang:1.14.2
build: ./server
container_name: go-server
working_dir: /server
volumes:
- ./server:/server
ports:
- 8080:8080
environment:
- FIRESTORE_EMULATOR_HOST=firestore-emulator:1982
- FIRESTORE_PROJECT_ID=usu-devops
command: gin --appPort 8080 --all -i run .
#command: bash -c "sleep infinity"
db:
container_name: firestore-emulator
image: mtlynch/firestore-emulator
environment:
- FIRESTORE_PROJECT_ID=usu-devops
- PORT=1982