mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(templates): change path of volumes to be in files folder to prevent delete the volumes
This commit is contained in:
@@ -23,10 +23,15 @@ services:
|
||||
networks:
|
||||
- dokploy-network
|
||||
volumes:
|
||||
- ./config.toml:/listmonk/config.toml
|
||||
- ../files/config.toml:/listmonk/config.toml
|
||||
depends_on:
|
||||
- db
|
||||
command: [sh, -c, "sleep 3 && ./listmonk --install --idempotent --yes --config config.toml"]
|
||||
command:
|
||||
[
|
||||
sh,
|
||||
-c,
|
||||
"sleep 3 && ./listmonk --install --idempotent --yes --config config.toml",
|
||||
]
|
||||
|
||||
app:
|
||||
restart: unless-stopped
|
||||
@@ -41,7 +46,7 @@ services:
|
||||
- db
|
||||
- setup
|
||||
volumes:
|
||||
- ./config.toml:/listmonk/config.toml
|
||||
- ../files/config.toml:/listmonk/config.toml
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.${HASH}.rule=Host(`${LISTMONK_HOST}`)"
|
||||
@@ -50,7 +55,7 @@ services:
|
||||
volumes:
|
||||
listmonk-data:
|
||||
driver: local
|
||||
|
||||
|
||||
networks:
|
||||
dokploy-network:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user