This commit is contained in:
2025-10-15 07:30:31 +02:00
parent 6961caa2af
commit 7f58f12b8d
7 changed files with 75 additions and 4 deletions

View File

@@ -21,14 +21,17 @@ services:
volumes:
- caddy_config:/config
- caddy_data:/data
- ./data:/srv/www:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data:/srv/www:ro
labels:
caddy: "static.localhost"
caddy.root: "* /srv/www"
caddy.file_server: "" # Active le serveur de fichiers statiques
caddy.tls: internal # HTTPS auto-signé géré par Caddy
# WhoAmI
# Tiny Go webserver that prints OS information and HTTP request to output.
# https://github.com/traefik/whoami
whoami:
image: traefik/whoami
depends_on:
@@ -119,6 +122,18 @@ services:
caddy.reverse_proxy: "{{upstreams 5984}}"
caddy.tls: internal
couchdb-init:
build:
dockerfile: ./couchdb-init.Dockerfile
context: .
environment:
COUCHDB_USER: ${COUCHDB_USER}
COUCHDB_PASSWORD: ${COUCHDB_PASSWORD}
depends_on:
- couchdb
networks:
- caddy_net
# MongoDB
#
# https://www.mongodb.com/