-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
34 lines (29 loc) · 836 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
34 lines (29 loc) · 836 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
version: '2'
# [TODO]: Replace sandvik-nlp with sandvik-myproject in this file
services:
frontend:
image: frontend-angular
build:
context: ./frontend
dockerfile: Dockerfile
container_name: "frontend-app"
volumes:
- ./frontend/src:/app/src # for watching files
ports:
- "4200:4200"
backend:
image: backend-flask
build:
context: ./backend
dockerfile: Dockerfile
container_name: "backend-app"
volumes:
- ./backend:/app # for watching files
ports:
- "8081:8081" # if changed, please change port in `frontend/proxy.conf.dev.json`
# Use an external named volume so that we can share gcp auth across containers
# Before first use, this volume must be manually created with
# docker volume create --name=gcp
volumes:
gcp:
external: true