infra(portainer): docker-compose neu erstellt
This commit is contained in:
@@ -1,26 +1,11 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
portainer:
|
||||
image: portainer/portainer-ce:latest
|
||||
container_name: bruchtal-portainer
|
||||
container_name: portainer
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9000:9000" # Webinterface
|
||||
- "9000:9000"
|
||||
volumes:
|
||||
- /docker/Daten/portainer-data:/data:rw
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
depends_on:
|
||||
- portainer_agent
|
||||
|
||||
portainer_agent:
|
||||
image: portainer/agent:latest
|
||||
container_name: bruchtal-portainer-agent
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
AGENT_CLUSTER_ADDR: tasks.portainer_agent
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:rw # nötig für Containersteuerung
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "9001:9001" # Agent Port
|
||||
- /docker/Daten/portainer-data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
Reference in New Issue
Block a user