Passt persistenten Speicher auf docker-volume an

This commit is contained in:
2026-02-09 22:33:59 +01:00
parent 3ab14cb9de
commit 7e34a6bf8d
2 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View File

@@ -1 +1,2 @@
data/
data/
.env

View File

@@ -5,10 +5,14 @@ services:
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/data:delegated
- portainer-server_data:/data
- /:/host
ports:
- 9443:9443
networks:
default:
name: portainer_network
name: portainer_network
volumes:
portainer-server_data: