14 lines
520 B
YAML
14 lines
520 B
YAML
services:
|
|
portainer:
|
|
image: portainer/portainer-ce:latest
|
|
container_name: portainer
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock # Erlaubt Portainer, Docker zu steuern
|
|
- ./data:/data # Hier liegen deine Portainer-Einstellungen
|
|
ports:
|
|
- '9443:9443' # HTTPS Port für den Direktzugriff (optional)
|
|
- '9000:9000' # HTTP Port (den nutzen wir für den Proxy) |