mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Updated configurations
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
|
|||||||
@@ -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:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user