mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
converting projects to portainer ready
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
portainer:
|
||||
image: ${PORTAINER_IMAGE:-portainer/portainer-ce:latest}
|
||||
ports:
|
||||
- 9000:9000
|
||||
environment:
|
||||
- AGENT_SECRET=${AGENT_SECRET}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- "${VOL_PATH:-./config}/portainer:/data"
|
||||
restart: always
|
||||
|
||||
portainer-agent:
|
||||
image: ${PORTAINER_AGENT_IMAGE:-portainer/agent:latest}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||
environment:
|
||||
- AGENT_SECRET=${AGENT_SECRET}
|
||||
ports:
|
||||
- 9001:9001
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user