24 lines
651 B
YAML
24 lines
651 B
YAML
volumes:
|
|
readeck-data:
|
|
|
|
services:
|
|
app:
|
|
image: codeberg.org/readeck/readeck:latest
|
|
container_name: readeck
|
|
mem_limit: 512m
|
|
cpus: 0.3
|
|
ports:
|
|
- 127.0.0.1:3019:8000
|
|
environment:
|
|
# Defines the application log level. Can be error, warn, info, debug.
|
|
- READECK_LOG_LEVEL=info
|
|
# Optional, a list of hostnames allowed in HTTP requests.
|
|
- READECK_ALLOWED_HOSTS=readeck.novemila.org
|
|
volumes:
|
|
- readeck-data:/readeck
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"]
|
|
interval: 30s
|
|
timeout: 2s
|
|
retries: 3 |