feat(infra): add Caddy server and Docker Compose configuration

This commit is contained in:
angi authored and Gianmarco-Ruberti committed 2026-11-07 16:45:15 +01:00
1 parent 80eef3d120
commit 414e659881
2 files changed
+24

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Pour le site web principal
fws-linux.org {
root * /srv/website
file_server
}
# Pour le dépôt de paquets Arch Linux
archrepo.fws-linux.org {
root * /srv/repo
file_server browse
}
+13
View File
@@ -0,0 +1,13 @@
version: '3.8'
services:
archrepo:
image: caddy:alpine
container_name: caddy-fws-Server
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./FWS-Website:/srv/website
- ./html:/srv/repo
- ./Caddyfile:/etc/caddy/Caddyfile