34 lines
849 B
YAML
34 lines
849 B
YAML
|
|
name: kereru-forms
|
||
|
|
|
||
|
|
services:
|
||
|
|
kereru-forms:
|
||
|
|
build:
|
||
|
|
context: ..
|
||
|
|
dockerfile: docker/Dockerfile
|
||
|
|
image: kereru-forms:1.0.0
|
||
|
|
container_name: kereru-forms
|
||
|
|
restart: unless-stopped
|
||
|
|
ports:
|
||
|
|
- "8080:8080"
|
||
|
|
environment:
|
||
|
|
KERERU_LOG_LEVEL: info
|
||
|
|
KERERU_LOG_FORMAT: json
|
||
|
|
KERERU_ENVIRONMENT: production
|
||
|
|
KERERU_LISTEN_ADDR: 0.0.0.0
|
||
|
|
KERERU_PORT: 8080
|
||
|
|
KERERU_DB_DRIVER: sqlite
|
||
|
|
KERERU_DB_DSN: "file:/data/kereru.db?_pragma=busy_timeout(5000)&_pragma=foreign_keys(1)"
|
||
|
|
KERERU_CORS_ORIGINS: "http://localhost:8080"
|
||
|
|
KERERU_TELEMETRY_ENABLED: "false"
|
||
|
|
volumes:
|
||
|
|
- kereru-data:/data
|
||
|
|
healthcheck:
|
||
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8080/health"]
|
||
|
|
interval: 30s
|
||
|
|
timeout: 5s
|
||
|
|
retries: 3
|
||
|
|
start_period: 10s
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
kereru-data:
|