Add stack.staging.yml
This commit is contained in:
parent
016a264db5
commit
da1111251d
|
@ -0,0 +1,43 @@
|
|||
# build 0
|
||||
version: '3.7'
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
services:
|
||||
sync:
|
||||
image: git.nixc.us/colin/syncthing:staging
|
||||
# expose:
|
||||
# - 8384
|
||||
# ports:
|
||||
# - "22000:22000"
|
||||
# - "21027:21027/udp"
|
||||
# volumes:
|
||||
# - "/mnt/tank/persist/nixc.us/sync/staging/config:/var/syncthing/config"
|
||||
# - "/mnt/tank/persist/nixc.us/vault/staging/otng:/otng"
|
||||
# - "/mnt/tank/persist/nixc.us/vault/staging/data:/vault/:ro"
|
||||
# - "/mnt/tank/persist/nixc.us/vault/staging/storage:/var/syncthing/storage"
|
||||
networks:
|
||||
- traefik
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == ingress.nixc.us
|
||||
labels:
|
||||
traefik.docker.network: traefik
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.staging_sync.entrypoints: websecure
|
||||
traefik.http.routers.staging_sync.rule: Host(`sync.nixc.us`)
|
||||
traefik.http.routers.staging_sync.service: staging_sync
|
||||
traefik.http.routers.staging_sync.tls: "true"
|
||||
traefik.http.routers.staging_sync.tls.certresolver: letsencryptresolver
|
||||
traefik.http.services.staging_sync.loadbalancer.server.port: '8384'
|
||||
traefik.tags: traefik
|
||||
traefik.http.routers.staging_sync.middlewares: authelia_authelia@docker
|
||||
# logging:
|
||||
# driver: "gelf"
|
||||
# options:
|
||||
# gelf-address: "udp://log.nixc.us:15124"
|
||||
# tag: "sync_sync"
|
Loading…
Reference in New Issue