mirror of
https://github.com/Theodor-Springmann-Stiftung/server-package.git
synced 2025-10-29 17:25:31 +00:00
+panoptikum
This commit is contained in:
27
panoptikum/caddy/docker-compose.yml
Normal file
27
panoptikum/caddy/docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
caddy:
|
||||
# Use the official Caddy image
|
||||
image: docker.io/library/caddy:latest
|
||||
# Always restart the container unless it's manually stopped
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
# HTTP3:
|
||||
- "443:443/udp"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- ./sites:/etc/caddy/sites
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
networks:
|
||||
- caddynet
|
||||
|
||||
networks:
|
||||
caddynet:
|
||||
external: true
|
||||
|
||||
# Define the named volumes for persistent storage
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
Reference in New Issue
Block a user