Updated configurations

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

View File

@@ -2,9 +2,7 @@
admin off
}
am-d-model.eu {
tls internal
(site) {
reverse_proxy site:3000 {
health_uri /health
health_interval 30s
@@ -12,3 +10,12 @@ am-d-model.eu {
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"
networks:
@@ -12,6 +13,8 @@ services:
expose:
- "3000"
restart: unless-stopped
labels:
- "io.containers.autoupdate=local"
caddy:
image: docker.io/library/caddy:latest
@@ -22,13 +25,7 @@ services:
ports:
- "8080:80"
volumes:
- caddy_data:/data
- caddy_config:/config
- ./caddy:/etc/caddy
restart: unless-stopped
labels:
- "io.containers.autoupdate=registry"
volumes:
caddy_data:
caddy_config: