mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-07 20:34:53 +01:00
New config logic
This commit is contained in:
@@ -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
|
||||
|
||||
##################
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user