-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 1.42 KB
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 1.42 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
services:
automaatje:
image: ghcr.io/hawkinslabdev/automaatje:latest
container_name: automaatje
ports:
- "3123:3123"
# Required: Create a .env file with SESSION_SECRET before starting
# Example: echo "SESSION_SECRET=$(openssl rand -base64 32)" > .env
environment:
- DATABASE_URL=/data/sqlite.db
- SESSION_SECRET=${SESSION_SECRET}
- NODE_ENV=production
- HOSTNAME=0.0.0.0
- NEXT_PUBLIC_APP_NAME=Automaatje
- NEXT_PUBLIC_APP_URL=http://localhost:3123
- OSRM_BASE_URL=https://router.project-osrm.org
- NOMINATIM_BASE_URL=https://nominatim.openstreetmap.org
# Cookie Security (set to false if not using HTTPS)
# - COOKIE_SECURE=false
# Email Notifications via Resend
# - RESEND_API_KEY=re_xxxxxxxxxxxxxxxxxxxxxxxxxx
# - RESEND_FROM_EMAIL=noreply@yourdomain.com
# - RESEND_FROM_NAME=Automaatje
# S3-compatible Backup Storage
# - S3_ENDPOINT=https://s3.amazonaws.com
# - S3_REGION=eu-central-1
# - S3_BUCKET=automaatje-backups
# - S3_ACCESS_KEY_ID=your_access_key
# - S3_SECRET_ACCESS_KEY=your_secret_key
volumes:
- automaatje_data:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3123/"]
interval: 90s
timeout: 30s
retries: 3
start_period: 10s
volumes:
automaatje_data: