Added Portainer

This commit is contained in:
Thord Johansson 2023-06-19 18:31:06 +02:00
parent db16d351d3
commit f9e5159f85
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,11 @@
version: '3.3'
services:
agent:
ports:
- '9001:9001'
container_name: portainer_agent
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '/var/lib/docker/volumes:/var/lib/docker/volumes'
image: 'portainer/agent:2.18.2'

View File

@ -0,0 +1,17 @@
version: '3.3'
services:
portainer-ce:
ports:
- '8000:8000'
- '9443:9443'
container_name: portainer
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- 'portainer_data:/data'
image: 'portainer/portainer-ce:latest'
volumes:
portainer_data:
name: "portainer_data"
external: true