This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
fradrive-old/compose.yaml

39 lines
898 B
YAML

services:
frontend:
# image: registry.uniworx.de/fradrive/fradrive/frontend
# pull_policy: if_not_present
build:
dockerfile: ./docker/frontend/Dockerfile
context: ./
environment:
- PROJECT_DIR=/fradrive
volumes:
- &fradrive-mnt
type: volume
source: fradrive
target: /tmp/fradrive
backend:
# image: registry.uniworx.de/fradrive/fradrive/backend
# pull_policy: if_not_present
build:
dockerfile: ./docker/backend/Dockerfile
context: ./
volumes:
- *fradrive-mnt
depends_on:
- frontend
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: ./