23 lines
420 B
YAML
23 lines
420 B
YAML
version: "3.9"
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
|
|
services:
|
|
nginx:
|
|
image: git.nixc.us/colin/host-port-ingress-proxy:latest
|
|
ports:
|
|
- target: 22
|
|
published: 2221
|
|
protocol: udp
|
|
mode: host
|
|
environment:
|
|
- BACKEND_HOST=git_git
|
|
- BACKEND_UDP_PORT=22
|
|
- BACKEND_TCP_PORT=22
|
|
- ALLOWED_IPS=0.0.0.0
|
|
networks:
|
|
- traefik
|
|
deploy:
|
|
replicas: 1 |