Add network stuff and db
This commit is contained in:
parent
9484d5cb7e
commit
408ece538c
1 changed files with 41 additions and 3 deletions
|
@ -3,12 +3,50 @@ services:
|
||||||
freshrss:
|
freshrss:
|
||||||
image: linuxserver/freshrss
|
image: linuxserver/freshrss
|
||||||
container_name: freshrss
|
container_name: freshrss
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- freshrss
|
||||||
|
- proxy
|
||||||
|
ports:
|
||||||
|
- 8088:80
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/Helsinki
|
- TZ=Europe/Helsinki
|
||||||
volumes:
|
volumes:
|
||||||
- "/docker/freshrss:/config"
|
- /docker/freshrss/freshrss:/config
|
||||||
ports:
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- 8088:80
|
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
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- freshrss
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Helsinki
|
||||||
|
- MYSQL_ROOT_PASSWORD=gitea
|
||||||
|
volumes:
|
||||||
|
- /docker/freshrss/mariadb:/var/lib/mysql
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
|
networks:
|
||||||
|
freshrss:
|
||||||
|
external: false
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
|
Loading…
Reference in a new issue