From 6606e8bbca6638d153c29617c2a5271c332ca49c Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 6 Feb 2025 18:49:48 -0500 Subject: [PATCH] Update stack.production.yml --- stack.production.yml | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/stack.production.yml b/stack.production.yml index 681683b..5b0ac15 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -1,5 +1,3 @@ -version: "3.8" - networks: traefik: external: true @@ -27,7 +25,7 @@ services: replicas: 1 labels: traefik.enable: "true" - traefik.http.routers.portainer.rule: Host(`portainer.nixc.us`) + traefik.http.routers.portainer.rule: Host(`portainer.odoo.nixc.us`) traefik.http.routers.portainer.entrypoints: websecure traefik.http.routers.portainer.service: portainer traefik.http.routers.portainer.tls: "true" @@ -39,23 +37,23 @@ services: - traefik - portainer - portainer_agent: - image: git.nixc.us/nixius/portainer:production-agent - environment: - - EDGE=1 - - EDGE_ID={{.Node.Hostname}} - - EDGE_KEY=${PORTAINER_EDGE_KEY} - - EDGE_INSECURE_POLL=1 - - AGENT_CLUSTER_ADDR=tasks.portainer_agent - volumes: - - /var/run/docker.sock:/var/run/docker.sock - - portainer_agent_data:/data - deploy: - mode: global - placement: - constraints: - - node.platform.os == linux # Runs on Linux nodes only - labels: - - "traefik.enable=false" - networks: - - portainer \ No newline at end of file + # portainer_agent: + # image: git.nixc.us/nixius/portainer:production-agent + # environment: + # - EDGE=1 + # - EDGE_ID={{.Node.Hostname}} + # - EDGE_KEY=${PORTAINER_EDGE_KEY} + # - EDGE_INSECURE_POLL=1 + # - AGENT_CLUSTER_ADDR=tasks.portainer_agent + # volumes: + # - /var/run/docker.sock:/var/run/docker.sock + # - portainer_agent_data:/data + # deploy: + # mode: global + # placement: + # constraints: + # - node.platform.os == linux # Runs on Linux nodes only + # labels: + # - "traefik.enable=false" + # networks: + # - portainer \ No newline at end of file