build(docker): update compose.yaml

This commit is contained in:
Sarah Vaupel 2024-09-05 02:35:47 +02:00
parent a1bbd05e68
commit a865f2f159

View File

@ -1,17 +1,14 @@
services: services:
frontend: frontend:
# image: registry.uniworx.de/fradrive/fradrive/frontend # image: registry.uniworx.de/fradrive/fradrive/frontend # TODO: reference to current branch required; how to do that here?
# pull_policy: if_not_present # pull_policy: if_not_present
build: build:
dockerfile: ./docker/frontend/Dockerfile dockerfile: ./docker/frontend/Dockerfile
context: ./ context: .
environment: environment:
- PROJECT_DIR=/fradrive - PROJECT_DIR=/fradrive
volumes: volumes:
- &fradrive-mnt - &fradrive-mnt .:/tmp/fradrive
type: volume
source: fradrive
target: /tmp/fradrive
backend: backend:
# image: registry.uniworx.de/fradrive/fradrive/backend # image: registry.uniworx.de/fradrive/fradrive/backend
# pull_policy: if_not_present # pull_policy: if_not_present
@ -28,10 +25,8 @@ services:
build: ./docker/database build: ./docker/database
ports: ports:
- "9876:5432" - "9876:5432"
privileged: true # privileged: true
volumes:
fradrive:
# driver: local # driver: local
# driver_opts: # driver_opts:
# type: none # type: none