fradrive/compose.yaml

38 lines
873 B
YAML

services:
frontend:
image: registry.uniworx.de/fradrive/fradrive/frontend
pull_policy: if_not_present
build:
dockerfile: ./docker/frontend/Dockerfile
context: ./
volumes:
- &fradrive-mnt "fradrive:/fradrive"
working_dir: /fradrive
privileged: true
backend:
image: registry.uniworx.de/fradrive/fradrive/backend
pull_policy: if_not_present
build:
dockerfile: ./docker/backend/Dockerfile
context: ./
volumes:
- *fradrive-mnt
working_dir: /fradrive
depends_on:
- frontend
privileged: true
database:
image: registry.uniworx.de/fradrive/fradrive/database
pull_policy: if_not_present
build: ./docker/database
ports:
- "9876:5432"
privileged: true
volumes:
fradrive:
driver: local
driver_opts:
type: none
o: bind
device: $PWD/