Feedati/docker-compose.yml

77 lines
2.4 KiB
YAML
Raw Permalink Normal View History

2018-07-31 16:36:00 +02:00
version: "3.6"
services:
db:
2018-09-25 16:35:42 +02:00
image: postgres:10-alpine
2018-08-02 10:46:41 +02:00
container_name: feedati_db
2018-07-31 16:36:00 +02:00
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
2018-09-25 16:35:42 +02:00
- POSTGRES_USER=superadmin
- POSTGRES_PASSWORD=superpass
- POSTGRES_DB=feeds
ports:
- 5432:5432
2018-07-31 16:36:00 +02:00
tt-rss:
image: feedati/tt-rss:latest
build:
context: .
dockerfile: ./docker/Dockerfile-tt-rss
container_name: feedati_tt_php
2018-07-31 16:36:00 +02:00
volumes:
- ./tt-rss:/app/public/tt-rss/
- ./docker/ttrss-config.php:/app/public/tt-rss/config.php:ro
2018-08-19 14:57:31 +02:00
- ./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
2018-09-25 16:35:42 +02:00
entrypoint: 'env PGHOST=db PGDATABASE=feeds PGUSER=ttrss PGPASSWORD=ttpass wait-db php7 /app/public/tt-rss/update.php --daemon'
2018-08-19 14:57:31 +02:00
ports: []
depends_on:
- db
2018-07-31 16:36:00 +02:00
rss-bridge:
image: feedati/rss-bridge:latest
build:
context: ./rss-bridge/
2018-08-02 10:46:41 +02:00
container_name: feedati_rss_bridge
2018-08-16 11:33:21 +02:00
volumes:
- ./rss-bridge:/app/public/
2018-08-17 17:46:49 +02:00
- ./docker/rssbridge-config.ini.php:/app/public/config.ini.php:ro
- ./docker/rssbridge-config.defines.php:/app/public/config.defines.php:ro
2018-08-16 11:33:21 +02:00
- ./docker/rssbridge-whitelist.txt:/app/public/whitelist.txt:ro
2018-08-01 00:06:27 +02:00
environment:
- APACHE_SERVER_NAME=rss-bridge
2018-07-31 16:36:00 +02:00
feedati-fe:
image: httpd:2.4-alpine
2018-08-02 10:46:41 +02:00
container_name: feedati_webserver
2018-07-31 16:36:00 +02:00
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
2018-07-31 16:36:00 +02:00
ports:
- 80:80
depends_on:
- tt-rss
- rss-bridge
2018-07-31 16:36:00 +02:00
syslog:
image: jumanjiman/rsyslog:latest
container_name: feedati_syslog
2018-07-31 16:36:00 +02:00
volumes:
postgres_data: