From 28a75a93610c10947cf8fd1320b5bc13c6947d02 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Thu, 2 Feb 2023 13:41:08 +0100 Subject: [PATCH] Set the environment variable ADVLABDB_DATA_DIR in the Containerfile --- Containerfile | 2 ++ compose.yaml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index c13a963..050e198 100644 --- a/Containerfile +++ b/Containerfile @@ -2,6 +2,8 @@ FROM docker.io/library/python:3.11-slim EXPOSE 80 +ENV ADVLABDB_DATA_DIR=/volumes/data + WORKDIR /volumes/repo COPY requirements.txt . diff --git a/compose.yaml b/compose.yaml index 9e20955..847f4e9 100644 --- a/compose.yaml +++ b/compose.yaml @@ -10,7 +10,6 @@ services: - ../data:/volumes/data:Z - ../logs:/volumes/logs:Z environment: - - ADVLABDB_DATA_DIR=/volumes/data - TZ=Europe/Berlin networks: - traefik