docker-compose.yml
· 885 B · YAML
Originalformat
services:
readeck:
image: codeberg.org/readeck/readeck:latest
container_name: readeck
ports:
- 8000: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
# Optional, the URL prefix of Readeck.
# - READECK_SERVER_PREFIX=/
# Optional, a list of hostnames allowed in HTTP requests.
# - READECK_ALLOWED_HOSTS=readeck.example.com
volumes:
- ./readeck-data:/readeck
restart: unless-stopped
healthcheck:
test: ["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"]
interval: 30s
timeout: 2s
retries: 3
| 1 | services: |
| 2 | readeck: |
| 3 | image: codeberg.org/readeck/readeck:latest |
| 4 | container_name: readeck |
| 5 | ports: |
| 6 | - 8000:8000 |
| 7 | environment: |
| 8 | # Defines the application log level. Can be error, warn, info, debug. |
| 9 | - READECK_LOG_LEVEL=info |
| 10 | # The IP address on which Readeck listens. |
| 11 | - READECK_SERVER_HOST=0.0.0.0 |
| 12 | # The TCP port on which Readeck listens. Update container port above to match (right of colon). |
| 13 | - READECK_SERVER_PORT=8000 |
| 14 | # Optional, the URL prefix of Readeck. |
| 15 | # - READECK_SERVER_PREFIX=/ |
| 16 | # Optional, a list of hostnames allowed in HTTP requests. |
| 17 | # - READECK_ALLOWED_HOSTS=readeck.example.com |
| 18 | volumes: |
| 19 | - ./readeck-data:/readeck |
| 20 | restart: unless-stopped |
| 21 | healthcheck: |
| 22 | test: ["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"] |
| 23 | interval: 30s |
| 24 | timeout: 2s |
| 25 | retries: 3 |