1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-17 18:31:15 +00:00

Set the environment variable ADVLABDB_DATA_DIR in the Containerfile

This commit is contained in:
Mo 2023-02-02 13:41:08 +01:00
parent 889112d475
commit 28a75a9361
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,8 @@ FROM docker.io/library/python:3.11-slim
EXPOSE 80 EXPOSE 80
ENV ADVLABDB_DATA_DIR=/volumes/data
WORKDIR /volumes/repo WORKDIR /volumes/repo
COPY requirements.txt . COPY requirements.txt .

View file

@ -10,7 +10,6 @@ services:
- ../data:/volumes/data:Z - ../data:/volumes/data:Z
- ../logs:/volumes/logs:Z - ../logs:/volumes/logs:Z
environment: environment:
- ADVLABDB_DATA_DIR=/volumes/data
- TZ=Europe/Berlin - TZ=Europe/Berlin
networks: networks:
- traefik - traefik