1
0
mirror of https://github.com/akpall/akpella.git synced 2026-02-21 16:47:00 +00:00

config.yaml: move files to files dir

This commit is contained in:
2026-02-10 05:32:51 +02:00
parent 80a9b8c3d6
commit 2cd9174d81
7 changed files with 92 additions and 92 deletions

View File

@@ -0,0 +1,22 @@
[Unit]
Description=Caddy 2 is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go.
After=docker.service \
docker-network-setup
Requires=docker.service \
docker-network-setup
[Service]
ExecStart=docker run \
--name=caddy \
--network=caddy-network \
--rm \
--mount type=bind,src=/opt/caddy/etc/caddy,dst=/etc/caddy \
--mount type=bind,src=/opt/caddy/var/www/html,dst=/var/www/html \
--mount type=bind,src=/opt/caddy/data,dst=/data \
-p 80:80 \
-p 443:443 \
-p 8448:8448 \
caddy:latest
[Install]
WantedBy=multi-user.target