Files
Docker-Compose/Random_Containers/readeck/compose.yaml
T

25 lines
849 B
YAML

services:
app:
image: codeberg.org/readeck/readeck:latest
container_name: readeck
ports:
- 5015:8000
environment:
# Defines the application log level. Can be error, warn, info, debug.
READECK_LOG_LEVEL: info
# The IP address on which Readeck listens.
READECK_SERVER_HOST: "0.0.0.0"
# The TCP port on which Readeck listens. Update container port above to match (right of colon).
READECK_SERVER_PORT: 8000
# Easier to read log format
READECK_LOG_FORMAT: text
# Optional, the URL prefix of Readeck.
# READECK_SERVER_PREFIX: "/"
volumes:
- /srv/docker/readneck/readeck-data:/readeck
restart: unless-stopped
healthcheck:
test: ["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"]
interval: 30s
timeout: 2s
retries: 3