couchdb
This commit is contained in:
17
compose.yaml
17
compose.yaml
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user