Updated configurations

This commit is contained in:
2025-01-17 16:32:36 +00:00
parent 450dbd3cc1
commit a5c70f2841
2 changed files with 13 additions and 9 deletions

View File

@@ -2,9 +2,7 @@
admin off admin off
} }
am-d-model.eu { (site) {
tls internal
reverse_proxy site:3000 { reverse_proxy site:3000 {
health_uri /health health_uri /health
health_interval 30s health_interval 30s
@@ -12,3 +10,12 @@ am-d-model.eu {
health_status 200 health_status 200
} }
} }
:80 {
import site
}
am-d-model.eu {
tls internal
import site
}

View File

@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
version: "3.8" version: "3.8"
networks: networks:
@@ -12,6 +13,8 @@ services:
expose: expose:
- "3000" - "3000"
restart: unless-stopped restart: unless-stopped
labels:
- "io.containers.autoupdate=local"
caddy: caddy:
image: docker.io/library/caddy:latest image: docker.io/library/caddy:latest
@@ -22,13 +25,7 @@ services:
ports: ports:
- "8080:80" - "8080:80"
volumes: volumes:
- caddy_data:/data
- caddy_config:/config
- ./caddy:/etc/caddy - ./caddy:/etc/caddy
restart: unless-stopped restart: unless-stopped
labels: labels:
- "io.containers.autoupdate=registry" - "io.containers.autoupdate=registry"
volumes:
caddy_data:
caddy_config: