Compose-Examples/examples/libreddit/docker-compose.yml
2023-02-25 15:14:35 +01:00

18 lines
555 B
YAML

version: "3.8"
services:
libreddit-web:
image: libreddit/libreddit
container_name: libreddit
hostname: libreddit
restart: unless-stopped
ports:
- 8080:8080
#labels:
# - traefik.enable=true
# - traefik.http.routers.libreddit.rule=Host(`libreddit.example.com`)
# - traefik.http.services.libreddit.loadbalancer.server.port=8080
# - traefik.docker.network=proxy
# # Part for optional traefik middlewares
# - traefik.http.routers.libreddit.middlewares=local-ipwhitelist@file,basic-auth@file