mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
version: "2.1"
|
|
services:
|
|
freshrss:
|
|
image: linuxserver/freshrss
|
|
container_name: freshrss
|
|
restart: unless-stopped
|
|
networks:
|
|
- freshrss
|
|
- postgres
|
|
- proxy
|
|
ports:
|
|
- 8088:80
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=985
|
|
- TZ=Europe/Helsinki
|
|
depends_on:
|
|
- spotifeed
|
|
volumes:
|
|
- /docker/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.korhonen.cc`)"
|
|
- "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.korhonen.cc`)"
|
|
- "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=80"
|
|
|
|
spotifeed:
|
|
build: ./spotifeed
|
|
container_name: spotifeed
|
|
restart: unless-stopped
|
|
networks:
|
|
- freshrss
|
|
|
|
networks:
|
|
freshrss:
|
|
external: false
|
|
postgres:
|
|
external: true
|
|
proxy:
|
|
external: true
|