New config logic

This commit is contained in:
Alexandre
2024-10-15 11:30:12 +02:00
committed by GitHub
parent 013a2d2ae2
commit 83bbab72a3
6 changed files with 24 additions and 20 deletions

View File

@@ -61,7 +61,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
# Correct data path
# hadolint ignore=DL4006
RUN grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/config/addons_config/mealie_data|g' && \
RUN grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/config|g' && \
sed -i "s|change_user$|# change_user|g" /app/run.sh
##################

View File

@@ -65,7 +65,7 @@
"/dev/nvme2"
],
"environment": {
"DATA_DIR": "/config/addons_config/mealie_data",
"DATA_DIR": "/config",
"DB_ENGINE": "sqlite",
"MAX_WORKERS": "1",
"WEB_CONCURRENCY": "2",
@@ -75,7 +75,8 @@
"image": "ghcr.io/alexbelgium/test-{arch}",
"ingress": true,
"map": [
"config:rw",
"addon_config:rw",
"homeassistant_config:rw",
"share:rw",
"ssl:rw"
],
@@ -83,7 +84,7 @@
"options": {
"ALLOW_SIGNUP": true,
"BASE_SUBPATH": "/mealie",
"DATA_DIR": "/config/addons_config/mealie_data",
"DATA_DIR": "/config",
"PGID": 1000,
"PUID": 1000,
"certfile": "fullchain.pem",