add files and copy them

This commit is contained in:
2026-07-26 22:43:04 +02:00
parent 14d228dcc5
commit 92d220ddbb
3 changed files with 223 additions and 1 deletions
+3 -1
View File
@@ -4,7 +4,9 @@ services:
container_name: init-zigbee2mqtt
user: '0'
command: >
sh -c "cp /sources/configuration.yaml /app/data"
sh -c "cp /sources/configuration.yaml /app/data &&
cp -f /sources/coodinator_backup.json /app/data &&
cp -f /sources/database.db /app/data"
volumes:
- ./sources:/sources
# Chemin des stacks pour Hawser sous Ubuntu