-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (26 loc) · 968 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
26 lines (26 loc) · 968 Bytes
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
services:
web:
build:
context: .
dockerfile: Dockerfile
image: shcloudservices-web:latest
container_name: shcloudservices-web
restart: unless-stopped
ports:
- "${PORT:-8080}:8080"
environment:
- PORT=8080
- NODE_ENV=production
- RESEND_API_KEY=${RESEND_API_KEY}
- DESTINATION_EMAIL=${DESTINATION_EMAIL:-contacto@solucioneshospedadas.com}
- FROM_EMAIL=${FROM_EMAIL:-Soluciones Hospedadas <onboarding@resend.dev>}
- TURNSTILE_SITE_KEY=${TURNSTILE_SITE_KEY:-0x4AAAAAAE5gTqmPsHQzwMg9}
- TURNSTILE_SECRET=${TURNSTILE_SECRET:-${TURNSTILE_SECRET_KEY}}
- TURNSTILE_HOSTNAMES=${TURNSTILE_HOSTNAMES:-solucioneshospedadas.com,localhost,127.0.0.1}
- RATE_LIMIT_MAX=${RATE_LIMIT_MAX:-5}
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 5s