Added Portainer
This commit is contained in:
parent
db16d351d3
commit
f9e5159f85
|
@ -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'
|
|
@ -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
|
Loading…
Reference in New Issue