-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (34 loc) · 1007 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
side-domains:
image: ghcr.io/melbourne-tech/side.domains:sha-d3b2b1e
restart: unless-stopped
environment:
- SUPABASE_SERVICE_KEY=${SUPABASE_SERVICE_KEY}
- RESEND_API_KEY=${RESEND_API_KEY}
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
- NEXT_PUBLIC_ROOT_DOMAIN=${NEXT_PUBLIC_ROOT_DOMAIN}
- NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=${NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY}
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:3000/api/health']
start_period: 15s
start_interval: 2s
caddy:
image: alaister/caddy:latest
restart: unless-stopped
cap_add:
- NET_ADMIN
ports:
- '80:80'
- '443:443'
- '443:443/udp'
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
depends_on:
- side-domains
volumes:
caddy_data:
external: true
caddy_config: