mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
* feat(blueprint): added chibisafe template * chore: remove spacing * fix: use caddy as service name * fix: added default credentials * feat: added healthcheck and internal network * fix: remove expose * fix: documentation links --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
70 lines
1.4 KiB
YAML
70 lines
1.4 KiB
YAML
# https://chibisafe.app/docs/intro
|
|
#
|
|
# Default Credentials
|
|
# USERNAME: admin
|
|
# PASSWORD: admin
|
|
services:
|
|
chibisafe:
|
|
image: chibisafe/chibisafe:latest
|
|
networks:
|
|
- chibinet
|
|
environment:
|
|
- BASE_API_URL=http://chibisafe_server:8000
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "--quiet", "http://127.0.0.1:8001"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
chibisafe_server:
|
|
image: chibisafe/chibisafe-server:latest
|
|
networks:
|
|
- chibinet
|
|
volumes:
|
|
- database:/app/database:rw
|
|
- uploads:/app/uploads:rw
|
|
- logs:/app/logs:rw
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test:
|
|
[
|
|
"CMD",
|
|
"wget",
|
|
"--spider",
|
|
"--quiet",
|
|
"http://127.0.0.1:8000/api/health",
|
|
]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
caddy:
|
|
image: caddy:2-alpine
|
|
networks:
|
|
- chibinet
|
|
volumes:
|
|
- ../files/Caddyfile:/etc/caddy/Caddyfile:ro
|
|
- uploads:/app/uploads:ro
|
|
environment:
|
|
- BASE_URL=":80"
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "--quiet", "http://127.0.0.1:80"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
database:
|
|
uploads:
|
|
logs:
|
|
|
|
networks:
|
|
chibinet:
|
|
driver: bridge
|
|
internal: true
|