34 lines
629 B
YAML
34 lines
629 B
YAML
version: "2"
|
|
|
|
volumes:
|
|
frontend_home:
|
|
|
|
services:
|
|
# Frontend
|
|
ui:
|
|
build:
|
|
context: ui/docker
|
|
args:
|
|
NONROOT_UID: 1000
|
|
NONROOT_GID: 1000
|
|
restart: 'unless-stopped'
|
|
volumes:
|
|
- "frontend_home:/home/node"
|
|
- "${PWD}/ui:/srv/vue/bday2020"
|
|
ports:
|
|
- 8000:8000
|
|
|
|
# Backend
|
|
api:
|
|
build: api
|
|
restart: 'no'
|
|
|
|
# Common Proxy
|
|
dev-proxy:
|
|
build: dev-proxy
|
|
restart: 'no'
|
|
ports:
|
|
- 8080:80
|
|
depends_on:
|
|
- ui
|
|
- api
|