mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-22 07:56:49 +00:00
Refactor swarm/secondary.yml to add wetty service for terminal access
This commit is contained in:
@@ -60,6 +60,27 @@ services:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
|
|
||||||
|
wetty:
|
||||||
|
image: wettyoss/wetty
|
||||||
|
environment:
|
||||||
|
SSHHOST: ${DOMAIN}
|
||||||
|
SSHPORT: ${SSHPORT}
|
||||||
|
NODE_ENV: 'development'
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=traefik-public
|
||||||
|
- traefik.constraint-label=traefik-public
|
||||||
|
- traefik.http.routers.wetty.entrypoints=https
|
||||||
|
- traefik.http.routers.wetty.rule=Host(`terminal.${DOMAIN}`)
|
||||||
|
- traefik.http.routers.wetty.tls.certresolver=le
|
||||||
|
- traefik.http.routers.wetty.service=wetty_app
|
||||||
|
- "traefik.http.services.wetty_app.loadbalancer.server.port=3000"
|
||||||
|
# - "traefik.http.routers.wetty.middlewares=forward-auth@file"
|
||||||
|
networks:
|
||||||
|
- traefik-public
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik-public:
|
traefik-public:
|
||||||
external: true
|
external: true
|
||||||
Reference in New Issue
Block a user