Update service configuration in config.yml and simplify cloudflared command in docker-compose
This commit is contained in:
+1
-1
@@ -8,6 +8,6 @@ ingress:
|
|||||||
|
|
||||||
# Repo 2: Key-Service (Buchung)
|
# Repo 2: Key-Service (Buchung)
|
||||||
- hostname: booking.maximiliangruendinger.de
|
- hostname: booking.maximiliangruendinger.de
|
||||||
service: http://key-service-app:8080
|
service: http://nginx:80
|
||||||
|
|
||||||
- service: http_status:404
|
- service: http_status:404
|
||||||
@@ -13,9 +13,7 @@ services:
|
|||||||
image: cloudflare/cloudflared:latest
|
image: cloudflare/cloudflared:latest
|
||||||
container_name: cloudflared
|
container_name: cloudflared
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
profiles:
|
command: tunnel run homeserver # 'homeserver' must match your tunnel name
|
||||||
- cloudflare
|
|
||||||
command: ["--config", "/etc/cloudflared/config.yml", "tunnel", "run"]
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/cloudflared/config.yml:/etc/cloudflared/config.yml:ro
|
- ./docker/cloudflared/config.yml:/etc/cloudflared/config.yml:ro
|
||||||
- /etc/cloudflared/credentials.json:/etc/cloudflared/credentials.json:ro
|
- /etc/cloudflared/credentials.json:/etc/cloudflared/credentials.json:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user