dotfiles/docker/freshrss/docker-compose.yml

97 lines
3.3 KiB
YAML
Raw Normal View History

2020-07-05 12:02:51 +03:00
version: "2.1"
services:
freshrss:
image: linuxserver/freshrss
container_name: freshrss
2020-07-05 12:13:51 +03:00
restart: unless-stopped
networks:
- freshrss
2021-01-09 12:14:05 +02:00
- postgres
2020-07-05 12:13:51 +03:00
- proxy
2020-07-05 12:02:51 +03:00
environment:
- PUID=1000
2020-07-05 12:17:03 +03:00
- PGID=985
2020-07-05 12:02:51 +03:00
- TZ=Europe/Helsinki
2021-01-16 14:26:46 +02:00
depends_on:
- spotifeed
2021-03-03 20:47:47 +02:00
- bibliogram
2020-07-05 12:02:51 +03:00
volumes:
2021-01-16 14:46:00 +02:00
- /docker/freshrss/freshrss:/config
2020-07-05 12:13:51 +03:00
- /etc/localtime:/etc/localtime:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.freshrss-redirect.entrypoints=http"
2020-12-06 11:36:01 +02:00
- "traefik.http.routers.freshrss-redirect.rule=Host(`rss.korhonen.cc`)"
2020-07-05 12:13:51 +03:00
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
- "traefik.http.routers.freshrss-redirect.middlewares=http2https"
- "traefik.http.routers.freshrss.entrypoints=https"
2020-12-06 11:36:01 +02:00
- "traefik.http.routers.freshrss.rule=Host(`rss.korhonen.cc`)"
2020-07-05 12:13:51 +03:00
- "traefik.http.routers.freshrss.tls=true"
- "traefik.http.routers.freshrss.tls.certresolver=http"
- "traefik.http.routers.freshrss.service=freshrss"
- "traefik.docker.network=proxy"
2020-07-05 12:15:18 +03:00
- "traefik.http.services.freshrss.loadbalancer.server.port=80"
2020-07-05 12:13:51 +03:00
2021-01-16 14:24:45 +02:00
spotifeed:
build: ./spotifeed
image: spotifeed
2021-01-16 14:24:45 +02:00
container_name: spotifeed
2021-03-03 20:47:47 +02:00
environment:
- SPOTIFY_CLIENT_ID=${SPOTIFY_CLIENT_ID}
- SPOTIFY_CLIENT_SECRET=${SPOTIFY_CLIENT_SECRET}
2021-01-16 14:46:00 +02:00
restart: unless-stopped
networks:
- freshrss
2021-03-03 20:47:47 +02:00
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.spotifeed-redirect.entrypoints=http"
- "traefik.http.routers.spotifeed-redirect.rule=Host(`spotifeed.korhonen.cc`)"
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
- "traefik.http.routers.spotifeed-redirect.middlewares=http2https"
- "traefik.http.routers.spotifeed.entrypoints=https"
- "traefik.http.routers.spotifeed.rule=Host(`spotifeed.korhonen.cc`)"
- "traefik.http.routers.spotifeed.tls=true"
- "traefik.http.routers.spotifeed.tls.certresolver=http"
- "traefik.http.routers.spotifeed.service=spotifeed"
- "traefik.docker.network=proxy"
- "traefik.http.services.spotifeed.loadbalancer.server.port=8083"
2021-01-16 14:46:00 +02:00
bibliogram:
image: cloudrac3r/bibliogram
container_name: bibliogram
2021-01-16 14:24:45 +02:00
restart: unless-stopped
2021-01-16 14:46:00 +02:00
volumes:
- /docker/freshrss/bibliogram/db:/app/db
2021-01-16 14:58:54 +02:00
- /docker/freshrss/bibliogram/config.js:/app/config.js
2021-01-16 14:24:45 +02:00
networks:
- freshrss
2021-01-16 14:50:35 +02:00
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.bibliogram-redirect.entrypoints=http"
- "traefik.http.routers.bibliogram-redirect.rule=Host(`bibliogram.korhonen.cc`)"
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
- "traefik.http.routers.bibliogram-redirect.middlewares=http2https"
- "traefik.http.routers.bibliogram.entrypoints=https"
- "traefik.http.routers.bibliogram.rule=Host(`bibliogram.korhonen.cc`)"
- "traefik.http.routers.bibliogram.tls=true"
- "traefik.http.routers.bibliogram.tls.certresolver=http"
- "traefik.http.routers.bibliogram.service=bibliogram"
- "traefik.docker.network=proxy"
- "traefik.http.services.bibliogram.loadbalancer.server.port=10407"
2021-01-16 14:24:45 +02:00
2020-07-05 12:13:51 +03:00
networks:
freshrss:
external: false
2021-01-09 12:14:05 +02:00
postgres:
2020-07-11 14:00:27 +03:00
external: true
2020-07-05 12:13:51 +03:00
proxy:
external: true