Compose-Examples/examples/readeck/docker-compose.yml
LRVT 67a26c1545
Update docker-compose.yml
add missing env for reverse proxy usage
2024-06-04 10:52:10 +02:00

28 lines
773 B
YAML

services:
readeck:
image: codeberg.org/readeck/readeck:latest
container_name: readeck
restart: unless-stopped
ports:
- 8000:8000/tcp
expose:
- 8000
#environment:
# - READECK_USE_X_FORWARDED=1 # required if run behind a reverse proxy
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/readeck:/readeck
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.readeck.rule=Host(`readeck.example.com`)
# - traefik.http.services.readeck.loadbalancer.server.port=8000
# # Optional part for traefik middlewares
# - traefik.http.routers.readeck.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true