Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion apps/cloudflared/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ x-vault-env: &vault-env
services:
cloudflared:
image: cloudflare/cloudflared
command: tunnel --no-autoupdate run
command: tunnel --no-autoupdate --metrics 0.0.0.0:20241 run
environment: *vault-env
networks:
- traefik
security_opt:
- no-new-privileges:true
restart: unless-stopped
healthcheck:
test: ["CMD", "cloudflared", "tunnel", "--metrics", "0.0.0.0:20241", "ready"]
start_period: 30s
interval: 30s
timeout: 5s
retries: 5
networks:
traefik:
external: true
6 changes: 6 additions & 0 deletions apps/rybbit/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ services:
NEXT_PUBLIC_DISABLE_SIGNUP: ${DISABLE_SIGNUP:-false}
depends_on:
- backend
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3002/"]
start_period: 30s
interval: 30s
timeout: 5s
retries: 5
backend:
image: ghcr.io/rybbit-io/rybbit-backend
extends:
Expand Down