Small changes

main
Marko Korhonen 4 years ago
parent 22dc766c4c
commit 2b4111cb15

@ -0,0 +1,18 @@
# Copy this file to .env before building the container.
# Put any local modifications here.
BUILD_TAG=latest
POSTGRES_USER=postgres
POSTGRES_PASSWORD=password
OWNER_UID=1000
OWNER_GID=1000
# You can keep this as localhost unless you want to use the ssl sidecar
# container (I suggest terminating ssl on the reverse proxy instead).
HTTP_HOST=localhost
# You will likely need to set this to the correct value, see README.md
# for more information.
SELF_URL_PATH=http://localhost:8280/tt-rss

@ -1 +0,0 @@
.env-dist

@ -49,8 +49,23 @@ services:
image: cthulhoo/ttrss-web
restart: unless-stopped
ports:
- ${HTTP_PORT}:2015
- 8280:2015
volumes:
- /docker/tt-rss/app:/var/www/html:ro
depends_on:
- app
labels:
- "traefik.enable=true"
- "traefik.http.routers.tt-rss-redirect.entrypoints=http"
- "traefik.http.routers.tt-rss-redirect.rule=Host(`rss.reekynet.com`)"
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
- "traefik.http.routers.tt-rss-redirect.middlewares=http2https"
- "traefik.http.routers.tt-rss.entrypoints=https"
- "traefik.http.routers.tt-rss.rule=Host(`rss.reekynet.com`)"
- "traefik.http.routers.tt-rss.tls=true"
- "traefik.http.routers.tt-rss.tls.certresolver=http"
- "traefik.http.routers.tt-rss.service=tt-rss"
- "traefik.docker.network=proxy"
- "traefik.http.services.tt-rss.loadbalancer.server.port=8280"

Loading…
Cancel
Save