mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
Add Caddy simple setup
This commit is contained in:
19
templates/caddy/simple/docker-compose.yml
Normal file
19
templates/caddy/simple/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
caddy:
|
||||
image: caddy:latest
|
||||
container_name: caddy
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./settings:/etc/caddy
|
||||
- ./static:/srv/static
|
||||
- ./caddy_data:/data
|
||||
- ./caddy_config:/config
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- caddy_net
|
||||
|
||||
networks:
|
||||
caddy_net: # Crete VPN internal - Need to bind running containers to this network as well
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user