Created
May 22, 2018 14:20
-
-
Save marcelo-ochoa/f0024383ecdcfada5f962f2232cdc320 to your computer and use it in GitHub Desktop.
stack definition for portainer agent at DC cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
dc: | |
image: portainer/agent | |
environment: | |
# REQUIRED: Should be equal to the service name prefixed by "tasks." when | |
# deployed inside an overlay network | |
AGENT_CLUSTER_ADDR: tasks.portainer_agent_dc | |
VIRTUAL_HOST: "https://agentsdc.exa.unicen.edu.ar" | |
SERVICE_PORTS: "9001" | |
HEALTH_CHECK: "check ssl verify none" | |
# AGENT_PORT: 9001 | |
# LOG_LEVEL: debug | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
networks: | |
- agent_network_dc | |
- rproxy | |
deploy: | |
mode: global | |
networks: | |
rproxy: | |
external: | |
name: reverse_proxy | |
agent_network_dc: | |
driver: overlay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment