forked from blallo/Feedati
76 lines
2.4 KiB
YAML
76 lines
2.4 KiB
YAML
version: "3.6"
|
|
|
|
services:
|
|
db:
|
|
image: postgres:10-alpine
|
|
container_name: feedati_db
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_USER=superadmin
|
|
- POSTGRES_PASSWORD=superpass
|
|
- POSTGRES_DB=feeds
|
|
ports:
|
|
- 5432:5432
|
|
|
|
tt-rss:
|
|
image: feedati/tt-rss:latest
|
|
build:
|
|
context: .
|
|
dockerfile: ./docker/Dockerfile-tt-rss
|
|
container_name: feedati_tt_php
|
|
volumes:
|
|
- ./tt-rss:/app/public/tt-rss/
|
|
- ./docker/ttrss-config.php:/app/public/tt-rss/config.php:ro
|
|
- ./docker/ttrss-apache-tt.conf:/etc/apache2/conf.d/tt.conf:ro
|
|
environment:
|
|
- APACHE_SERVER_NAME=tt-rss
|
|
- PHP_DISPLAY_ERRORS=stdout
|
|
- PHP_DISPLAY_STARTUP_ERROR=1
|
|
|
|
tt-rss-update:
|
|
image: feedati/tt-rss:latest
|
|
volumes:
|
|
- ./tt-rss:/app/public/tt-rss/
|
|
- ./docker/ttrss-config.php:/app/public/tt-rss/config.php:ro
|
|
container_name: feedati_tt_update
|
|
environment:
|
|
- PHP_DISPLAY_ERRORS=stdout
|
|
- PHP_DISPLAY_STARTUP_ERROR=1
|
|
entrypoint: 'env PGHOST=db PGDATABASE=feeds PGUSER=ttrss PGPASSWORD=ttpass wait-db php7 /app/public/tt-rss/update.php --daemon'
|
|
ports: []
|
|
depends_on:
|
|
- db
|
|
|
|
rss-bridge:
|
|
image: feedati/rss-bridge:latest
|
|
build:
|
|
context: ./rss-bridge/
|
|
container_name: feedati_rss_bridge
|
|
volumes:
|
|
- ./rss-bridge:/app/public/
|
|
- ./docker/rssbridge-config.ini.php:/app/public/config.ini.php:ro
|
|
- ./docker/rssbridge-config.defines.php:/app/public/config.defines.php:ro
|
|
- ./docker/rssbridge-whitelist.txt:/app/public/whitelist.txt:ro
|
|
environment:
|
|
- APACHE_SERVER_NAME=rss-bridge
|
|
|
|
feedati-fe:
|
|
image: httpd:2.4-alpine
|
|
container_name: feedati_webserver
|
|
volumes:
|
|
- ./docker/frontend-apache.conf:/usr/local/apache2/conf/httpd.conf:ro
|
|
- ./docker/frontend-apache/:/etc/apache2/:ro
|
|
- ./docker/frontend-login/:/var/www/login/:ro
|
|
ports:
|
|
- 80:80
|
|
depends_on:
|
|
- tt-rss
|
|
- rss-bridge
|
|
|
|
syslog:
|
|
image: jumanjiman/rsyslog:latest
|
|
container_name: feedati_syslog
|
|
|
|
volumes:
|
|
postgres_data:
|