|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
version: "3"
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
db:
|
|
|
|
|
tt-rss-db:
|
|
|
|
|
image: postgres:12-alpine
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
volumes:
|
|
|
|
@ -10,12 +10,12 @@ services:
|
|
|
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
|
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
|
|
|
|
|
|
|
|
app:
|
|
|
|
|
tt-rss-app:
|
|
|
|
|
image: cthulhoo/ttrss-fpm-pgsql-static
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
- DB_TYPE=pgsql
|
|
|
|
|
- DB_HOST=db
|
|
|
|
|
- DB_HOST=tt-rss-db
|
|
|
|
|
- DB_NAME=${POSTGRES_USER}
|
|
|
|
|
- DB_USER=${POSTGRES_USER}
|
|
|
|
|
- DB_PASS=${POSTGRES_PASSWORD}
|
|
|
|
@ -25,14 +25,14 @@ services:
|
|
|
|
|
volumes:
|
|
|
|
|
- /docker/tt-rss/app:/var/www/html
|
|
|
|
|
depends_on:
|
|
|
|
|
- db
|
|
|
|
|
- tt-rss-db
|
|
|
|
|
|
|
|
|
|
updater:
|
|
|
|
|
tt-rss-updater:
|
|
|
|
|
image: cthulhoo/ttrss-fpm-pgsql-static
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
- DB_TYPE=pgsql
|
|
|
|
|
- DB_HOST=db
|
|
|
|
|
- DB_HOST=tt-rss-db
|
|
|
|
|
- DB_NAME=${POSTGRES_USER}
|
|
|
|
|
- DB_USER=${POSTGRES_USER}
|
|
|
|
|
- DB_PASS=${POSTGRES_PASSWORD}
|
|
|
|
@ -42,10 +42,10 @@ services:
|
|
|
|
|
volumes:
|
|
|
|
|
- /docker/tt-rss/app:/var/www/html
|
|
|
|
|
depends_on:
|
|
|
|
|
- app
|
|
|
|
|
- tt-rss-app
|
|
|
|
|
command: /updater.sh
|
|
|
|
|
|
|
|
|
|
web:
|
|
|
|
|
tt-rss-web:
|
|
|
|
|
image: cthulhoo/ttrss-web
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
@ -53,7 +53,7 @@ services:
|
|
|
|
|
volumes:
|
|
|
|
|
- /docker/tt-rss/app:/var/www/html:ro
|
|
|
|
|
depends_on:
|
|
|
|
|
- app
|
|
|
|
|
- tt-rss-app
|
|
|
|
|
labels:
|
|
|
|
|
- "traefik.enable=true"
|
|
|
|
|
|
|
|
|
|