Update stack.production.yml
This commit is contained in:
parent
2d07e0c376
commit
bbe8f081cd
|
@ -1,46 +1,49 @@
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
|
portainer_network:
|
||||||
|
driver: overlay
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
portainer_agent_data:
|
||||||
|
driver: local
|
||||||
|
|
||||||
services:
|
services:
|
||||||
firefox:
|
portainer:
|
||||||
image: git.nixc.us/nixius/marketing-browser:production
|
image: git.nixc.us/nixius/portainer:production
|
||||||
# image: jlesage/firefox
|
|
||||||
environment:
|
|
||||||
# DISPLAY_WIDTH: '1280'
|
|
||||||
# DISPLAY_HEIGHT: '720'
|
|
||||||
# KEEP_APP_RUNNING: '1'
|
|
||||||
# KASM_PORT: 80
|
|
||||||
PUID: 1000
|
|
||||||
GUID: 1000
|
|
||||||
tmpfs:
|
|
||||||
- /tmp:size=2G
|
|
||||||
volumes:
|
volumes:
|
||||||
- '/mnt/tank/persist/nixc.us/marketing-browser/production/config:/config:rw'
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- '/etc/localtime:/etc/localtime:ro'
|
- /mnt/tank/persist/nixc.us/portainer/data:/data
|
||||||
# - "istock:/config/Downloads"
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- type: tmpfs
|
|
||||||
target: /dev/shm
|
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == macmini14
|
- node.hostname == macmini14
|
||||||
replicas: 1
|
replicas: 1
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
traefik.enable: true
|
||||||
- "traefik.http.routers.istock_firefox.tls=true"
|
traefik.http.routers.portainer.rule: Host(`portainer.nixc.us`)
|
||||||
- "traefik.http.services.istock_firefox.loadbalancer.server.port=3000"
|
traefik.http.routers.portainer.entrypoints: websecure
|
||||||
- "traefik.http.routers.istock_firefox.rule=Host(`marketing-browser.nixc.us`)"
|
traefik.http.routers.portainer.service: portainer
|
||||||
- "traefik.http.routers.istock_firefox.entrypoints=websecure"
|
traefik.http.routers.portainer.tls: true
|
||||||
- "traefik.http.routers.istock_firefox.tls.certresolver=letsencryptresolver"
|
traefik.http.routers.portainer.tls.certresolver: letsencryptresolver
|
||||||
- "traefik.http.routers.istock_firefox.service=istock_firefox"
|
traefik.http.services.portainer.loadbalancer.server.port: 9443
|
||||||
- "traefik.docker.network=traefik"
|
traefik.docker.network: traefik
|
||||||
- 'traefik.http.routers.istock_firefox.middlewares=authelia_authelia@docker'
|
traefik.http.routers.portainer.middlewares: authelia_authelia@docker
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
dns:
|
- portainer_network
|
||||||
- 1.1.1.1
|
|
||||||
- 8.8.8.8
|
portainer_agent:
|
||||||
# volumes:
|
image: portainer/agent:latest
|
||||||
# istock:
|
environment:
|
||||||
# external: true
|
- AGENT_CLUSTER_ADDR=portainer # Explicitly set to connect to Portainer
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- portainer_agent_data:/data
|
||||||
|
deploy:
|
||||||
|
mode: global
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=false"
|
||||||
|
networks:
|
||||||
|
- portainer_network
|
||||||
|
|
Loading…
Reference in New Issue