-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 1.04 KB
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
# docker-compose.yml
# Local testing with external services (NATS, Postgres, Redis)
# Uses external NATS - you need to set NATS_URL to your cloud NATS provider
services:
trequila:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
- PORT=8080
- NATS_URL=${NATS_URL} # External NATS (Synadia NGS, Upstash, etc.)
- DATABASE_URL=${DATABASE_URL} # External Postgres (Heroku, Supabase, etc.)
- REDIS_URL=${REDIS_URL} # External Redis (Heroku Redis, Upstash, etc.)
- JWT_SECRET=${JWT_SECRET}
- GEMINI_API_KEY=${GEMINI_API_KEY}
- PEXELS_API_KEY=${PEXELS_API_KEY}
- GEOAPIFY_API_KEY=${GEOAPIFY_API_KEY}
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
- GOOGLE_REDIRECT_URL=${GOOGLE_REDIRECT_URL}
restart: always
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/health"]
interval: 30s
timeout: 5s
retries: 3