docker-compose.yml 702 B

1234567891011121314151617181920212223242526
  1. version: '3.7'
  2. services:
  3. nginx-relay:
  4. image: nginx:alpine
  5. restart: unless-stopped
  6. volumes:
  7. - ./nginx.conf:/etc/nginx/nginx.conf:ro
  8. networks:
  9. - proxy
  10. labels:
  11. - 'traefik.enable=true'
  12. - 'traefik.docker.network=proxy'
  13. - 'traefik.tcp.routers.signal-proxy.rule=HostSNI("s1gn4l.example.com")'
  14. - 'traefik.tcp.routers.signal-proxy.entrypoints=https'
  15. - 'traefik.tcp.routers.signal-proxy.tls=true'
  16. - 'traefik.tcp.routers.signal-proxy.tls.certresolver=letsencrypt'
  17. - 'traefik.tcp.routers.signal-proxy.service=nginx-relay'
  18. - 'traefik.tcp.services.nginx-relay.loadbalancer.server.port=4433'
  19. networks:
  20. proxy:
  21. external: true