Compose-Examples/examples/libreddit/docker-compose.yml

18 lines
555 B
YAML
Raw Normal View History

2023-02-25 14:14:35 +00:00
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