mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-04 18:00:20 +00:00
Add networks
This commit is contained in:
parent
a274d7356b
commit
249262483c
@ -9,6 +9,8 @@ services:
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
networks:
|
||||
- tt-rss
|
||||
|
||||
tt-rss-app:
|
||||
image: cthulhoo/ttrss-fpm-pgsql-static
|
||||
@ -26,6 +28,8 @@ services:
|
||||
- /docker/tt-rss/app:/var/www/html
|
||||
depends_on:
|
||||
- tt-rss-db
|
||||
networks:
|
||||
- tt-rss
|
||||
|
||||
tt-rss-updater:
|
||||
image: cthulhoo/ttrss-fpm-pgsql-static
|
||||
@ -44,6 +48,8 @@ services:
|
||||
depends_on:
|
||||
- tt-rss-app
|
||||
command: /updater.sh
|
||||
networks:
|
||||
- tt-rss
|
||||
|
||||
tt-rss-web:
|
||||
image: cthulhoo/ttrss-web
|
||||
@ -54,6 +60,9 @@ services:
|
||||
- /docker/tt-rss/app:/var/www/html:ro
|
||||
depends_on:
|
||||
- tt-rss-app
|
||||
networks:
|
||||
- tt-rss
|
||||
- proxy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
|
||||
@ -69,3 +78,9 @@ services:
|
||||
- "traefik.http.routers.tt-rss.service=tt-rss"
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.http.services.tt-rss.loadbalancer.server.port=8280"
|
||||
|
||||
networks:
|
||||
tt-rss:
|
||||
external: false
|
||||
proxy:
|
||||
external: true
|
||||
|
Loading…
Reference in New Issue
Block a user