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)
|
||||
- hostname: booking.maximiliangruendinger.de
|
||||
service: http://key-service-app:8080
|
||||
service: http://nginx:80
|
||||
|
||||
- service: http_status:404
|
||||
@@ -13,9 +13,7 @@ services:
|
||||
image: cloudflare/cloudflared:latest
|
||||
container_name: cloudflared
|
||||
restart: unless-stopped
|
||||
profiles:
|
||||
- cloudflare
|
||||
command: ["--config", "/etc/cloudflared/config.yml", "tunnel", "run"]
|
||||
command: tunnel run homeserver # 'homeserver' must match your tunnel name
|
||||
volumes:
|
||||
- ./docker/cloudflared/config.yml:/etc/cloudflared/config.yml:ro
|
||||
- /etc/cloudflared/credentials.json:/etc/cloudflared/credentials.json:ro
|
||||
|
||||
Reference in New Issue
Block a user