diff --git a/stack.staging.yml b/stack.staging.yml new file mode 100644 index 0000000..12cd291 --- /dev/null +++ b/stack.staging.yml @@ -0,0 +1,37 @@ +version: "3.7" + +networks: + traefik: + external: true + +services: + top: +# image: lscr.io/linuxserver/webtop:ubuntu-kde + # image: codeberg.org/dowerent/ubuntu-webtop:latest + image: git.nixc.us/colin/top:staging + environment: + TZ: America/New_York + networks: + - traefik + dns: + - 8.8.8.8 + - 4.4.4.4 + # volumes: + # - /var/run/docker.sock:/var/run/docker.sock:ro + # - /mnt/tank/persist/nixc.us/top/staging/config:/config + deploy: + placement: + constraints: + # - node.labels.role == db + - node.hostname == macmini14 +# - node.labels.mac-rack == true + labels: + - "traefik.enable=true" + - "traefik.http.routers.staging_top.tls=true" + - "traefik.http.services.staging_top.loadbalancer.server.port=3000" + - "traefik.http.routers.staging_top.rule=Host(`staging.top.nixc.us`)" + - "traefik.http.routers.staging_top.entrypoints=websecure" + - "traefik.http.routers.staging_top.tls.certresolver=letsencryptresolver" + - "traefik.http.routers.staging_top.service=top" + - "traefik.docker.network=traefik" + - 'traefik.http.routers.staging_top.middlewares=authelia_authelia@docker' \ No newline at end of file