40 lines
955 B
YAML
40 lines
955 B
YAML
services:
|
|
# portainer:
|
|
# image: portainer/portainer-ee:latest
|
|
# container_name: portainer
|
|
# hostname: portainer
|
|
# domainname: port.gbrown.org
|
|
# networks:
|
|
# - nginx-bridge
|
|
# labels:
|
|
# com.centurylinklabs.watchtower.enable: "true"
|
|
# ports:
|
|
# - 9443:9443
|
|
# volumes:
|
|
# - ./volumes/data:/data
|
|
# - /var/run/docker.sock:/var/run/docker.sock
|
|
# tty: true
|
|
# stdin_open: true
|
|
# restart: unless-stopped
|
|
|
|
portainer-agent:
|
|
image: portainer/agent:latest
|
|
container_name: portainer-agent
|
|
hostname: portainer-agent
|
|
networks:
|
|
- nginx-bridge
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: "true"
|
|
ports: ["9001:9001"]
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
|
- /:/host
|
|
tty: true
|
|
stdin_open: true
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
nginx-bridge:
|
|
external: true
|