-
-
Notifications
You must be signed in to change notification settings - Fork 137
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
29 lines (28 loc) · 660 Bytes
/
docker-compose.yaml
File metadata and controls
29 lines (28 loc) · 660 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
version: '3'
services:
golang:
build:
context: ./backend/
dockerfile: Dockerfile
container_name: golang
restart: always
ports:
- '3000:3000'
depends_on: [mongo]
mongo:
container_name: mongo
image: mongo
ports:
- '27017:27017'
# volumes:
# - ./data:/data/db
frontend:
build:
context: ./frontend/
dockerfile: Dockerfile
args:
- VUE_APP_API_URL=${EXTERNAL_IP}
container_name: frontend
restart: always
ports:
- '8080:8080'