initial commit

This commit is contained in:
2025-10-30 07:48:59 +01:00
commit df559fab6b
3 changed files with 42 additions and 0 deletions

10
.editorconfig Normal file
View File

@@ -0,0 +1,10 @@
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

31
README.md Normal file
View File

@@ -0,0 +1,31 @@
## Proxy
Créer un réseau pour le proxy
```shell
docker network create proxy_net
```
```shell
caddy:
image: lucaslorentz/caddy-docker-proxy:2.10
restart: "no"
ports:
- "80:80"
- "443:443/tcp"
- "443:443/udp"
networks:
- caddy_net
environment:
CADDY_INGRESS_NETWORKS: proxy_net
volumes:
- caddy_config:/config
- caddy_data:/data
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data:/srv/www:ro
labels:
caddy: localhost
caddy.root: "* /srv/www"
caddy.file_server: "" # Active le serveur de fichiers statiques
caddy.tls: internal # HTTPS auto-signé géré par Caddy
```