diff --git a/stack.yml b/stack.yml index 48bf1ad..38672ee 100644 --- a/stack.yml +++ b/stack.yml @@ -6,23 +6,18 @@ networks: services: nginx: - image: git.nixc.us/colin/lan-to-nginx:latest + image: git.nixc.us/colin/host-port-ingress-proxy:latest + ports: + - target: 22 + published: 2221 + protocol: udp + mode: host environment: - - BACKEND_ADDRESS=ingress.nixc.us - - BACKEND_PORT=443 - - PROTOCOL=https + - BACKEND_HOST=git_git + - BACKEND_UDP_PORT=22 + - BACKEND_TCP_PORT=22 + - ALLOWED_IPS=0.0.0.0 networks: - traefik deploy: - replicas: 1 - labels: - - "us.nixc.autodeploy=true" - - "traefik.enable=true" - - "traefik.http.routers.nginx-proxy.tls=true" - - "traefik.http.services.nginx-proxy.loadbalancer.server.port=80" - - "traefik.http.routers.nginx-proxy.rule=Host(`nginx-proxy.nixc.us`)" - - "traefik.http.routers.nginx-proxy.entrypoints=websecure" - - "traefik.http.routers.nginx-proxy.tls.certresolver=letsencryptresolver" - - "traefik.http.routers.nginx-proxy.service=nginx-proxy" - - "traefik.docker.network=traefik" -# - 'traefik.http.routers.nginx-proxy.middlewares=authelia_authelia@docker' + replicas: 1 \ No newline at end of file