infra(portainer): docker-compose neu erstellt
This commit is contained in:
@@ -1,26 +1,11 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
portainer:
|
portainer:
|
||||||
image: portainer/portainer-ce:latest
|
image: portainer/portainer-ce:latest
|
||||||
container_name: bruchtal-portainer
|
container_name: portainer
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "9000:9000" # Webinterface
|
- "9000:9000"
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/Daten/portainer-data:/data:rw
|
- /docker/Daten/portainer-data:/data
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
depends_on:
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- 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
|
|
||||||
Reference in New Issue
Block a user