Added tt-rss
This commit is contained in:
parent
e5def6a71a
commit
cf24e37f4d
1 changed files with 56 additions and 0 deletions
56
docker/tt-rss/docker-compose.yml
Normal file
56
docker/tt-rss/docker-compose.yml
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: postgres:12-alpine
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /docker/tt-rss/postgresql:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
|
|
||||||
|
app:
|
||||||
|
image: cthulhoo/ttrss-fpm-pgsql-static
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- DB_TYPE=pgsql
|
||||||
|
- DB_HOST=db
|
||||||
|
- DB_NAME=${POSTGRES_USER}
|
||||||
|
- DB_USER=${POSTGRES_USER}
|
||||||
|
- DB_PASS=${POSTGRES_PASSWORD}
|
||||||
|
- OWNER_UID=${OWNER_UID}
|
||||||
|
- OWNER_GID=${OWNER_GID}
|
||||||
|
- SELF_URL_PATH=${SELF_URL_PATH}
|
||||||
|
volumes:
|
||||||
|
- /docker/tt-rss/app:/var/www/html
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
|
updater:
|
||||||
|
image: cthulhoo/ttrss-fpm-pgsql-static
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- DB_TYPE=pgsql
|
||||||
|
- DB_HOST=db
|
||||||
|
- DB_NAME=${POSTGRES_USER}
|
||||||
|
- DB_USER=${POSTGRES_USER}
|
||||||
|
- DB_PASS=${POSTGRES_PASSWORD}
|
||||||
|
- OWNER_UID=${OWNER_UID}
|
||||||
|
- OWNER_GID=${OWNER_GID}
|
||||||
|
- SELF_URL_PATH=${SELF_URL_PATH}
|
||||||
|
volumes:
|
||||||
|
- /docker/tt-rss/app:/var/www/html
|
||||||
|
depends_on:
|
||||||
|
- app
|
||||||
|
command: /updater.sh
|
||||||
|
|
||||||
|
web:
|
||||||
|
image: cthulhoo/ttrss-web
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- ${HTTP_PORT}:2015
|
||||||
|
volumes:
|
||||||
|
- /docker/tt-rss/app:/var/www/html:ro
|
||||||
|
depends_on:
|
||||||
|
- app
|
Loading…
Reference in a new issue