Revert "New config logic"

This reverts commit 83bbab72a3.
This commit is contained in:
Alexandre
2024-10-15 12:30:01 +02:00
parent a5befaff75
commit 2f690538c0
6 changed files with 19 additions and 23 deletions

View File

@@ -51,7 +51,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|g' && \
RUN grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/config/addons_config/mealie_data|g' && \
sed -i "s|change_user$|# change_user|g" /app/run.sh
##################

View File

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