fixup
This commit is contained in:
parent
a2a4ef19ee
commit
fa29897d55
|
@ -5,7 +5,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: codeberg.org/Iridium-net/lan-to-nginx:latest
|
||||
image: codeberg.org/iridium-net/lan-to-nginx:latest
|
||||
environment:
|
||||
- BACKEND_ADDRESS=192.168.8.1 # Replace with your backend address
|
||||
- BACKEND_PORT=80 # Replace with your backend port
|
||||
|
|
|
@ -5,8 +5,8 @@ networks:
|
|||
external: true
|
||||
|
||||
services:
|
||||
nginx-proxy:
|
||||
image: codeberg.org/Iridium-net/lan-to-nginx:latest
|
||||
unifi:
|
||||
image: codeberg.org/iridium-net/lan-to-nginx:latest
|
||||
environment:
|
||||
- BACKEND_ADDRESS=192.168.8.1
|
||||
- BACKEND_PORT=80
|
||||
|
@ -16,13 +16,13 @@ services:
|
|||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == ingress.nixc.us
|
||||
- node.hostname == macmini7
|
||||
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.example.com`)"
|
||||
- "traefik.http.routers.nginx-proxy.rule=Host(`unifi.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"
|
Loading…
Reference in New Issue