2020-07-05 09:02:51 +00:00
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
freshrss:
|
|
|
|
image: linuxserver/freshrss
|
|
|
|
container_name: freshrss
|
2020-07-05 09:13:51 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- freshrss
|
|
|
|
- proxy
|
|
|
|
ports:
|
|
|
|
- 8088:80
|
2020-07-05 09:02:51 +00:00
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Helsinki
|
|
|
|
volumes:
|
2020-07-05 09:13:51 +00:00
|
|
|
- /docker/freshrss/freshrss:/config
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
|
|
|
|
- "traefik.http.routers.freshrss-redirect.entrypoints=http"
|
|
|
|
- "traefik.http.routers.freshrss-redirect.rule=Host(`rss.reekynet.com`)"
|
|
|
|
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
|
|
|
|
- "traefik.http.routers.freshrss-redirect.middlewares=http2https"
|
|
|
|
|
|
|
|
- "traefik.http.routers.freshrss.entrypoints=https"
|
|
|
|
- "traefik.http.routers.freshrss.rule=Host(`rss.reekynet.com`)"
|
|
|
|
- "traefik.http.routers.freshrss.tls=true"
|
|
|
|
- "traefik.http.routers.freshrss.tls.certresolver=http"
|
|
|
|
- "traefik.http.routers.freshrss.service=freshrss"
|
|
|
|
- "traefik.docker.network=proxy"
|
|
|
|
- "traefik.http.services.freshrss.loadbalancer.server.port=3000"
|
|
|
|
|
|
|
|
mariadb-freshrss:
|
|
|
|
container_name: mariadb-freshrss
|
|
|
|
image: mariadb
|
2020-07-05 09:02:51 +00:00
|
|
|
restart: unless-stopped
|
2020-07-05 09:13:51 +00:00
|
|
|
networks:
|
|
|
|
- freshrss
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Helsinki
|
2020-07-05 09:14:15 +00:00
|
|
|
- MYSQL_ROOT_PASSWORD=freshrss
|
2020-07-05 09:13:51 +00:00
|
|
|
volumes:
|
|
|
|
- /docker/freshrss/mariadb:/var/lib/mysql
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
|
|
|
|
networks:
|
|
|
|
freshrss:
|
|
|
|
external: false
|
|
|
|
proxy:
|
|
|
|
external: true
|