diff --git a/mealie/.env.example b/mealie/.env.example index 012d494..36ab18e 100644 --- a/mealie/.env.example +++ b/mealie/.env.example @@ -1,4 +1,4 @@ -# Where your media will be stored +# Where your media will be stored (if using bind mount, otherwise leave empty) DATA_FOLDER=/path/to/data # URL for your domain for Mealie diff --git a/mealie/docker-compose.yaml b/mealie/docker-compose.yaml index 10c5662..e3a7716 100644 --- a/mealie/docker-compose.yaml +++ b/mealie/docker-compose.yaml @@ -12,14 +12,14 @@ services: limits: memory: 1000M # volumes: - - ${DATA_FOLDER}:/app/data/ + - mealie_data:/app/data/ environment: # Set Backend ENV Variables Here ALLOW_SIGNUP: "false" PUID: 1000 PGID: 1000 TZ: Europe/Warsaw - BASE_URL: ${YOUR_DOMAIN:-https://mealie.yourdomain.com} + BASE_URL: ${BASE_URL:-https://mealie.yourdomain.com} healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9000"] interval: 30s @@ -28,6 +28,9 @@ services: networks: - mealie-net +volumes: + mealie_data: + networks: mealie-net: driver: bridge \ No newline at end of file