mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-23 20:11:12 +00:00
67a26c1545
add missing env for reverse proxy usage
28 lines
773 B
YAML
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
|