version: "3.6"
services:
db:
image: postgres:10
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=ttrss
- POSTGRES_PASSWORD=password-dev
- POSTGRES_DB=ttrss
ports:
- 5432:5432
tt-rss:
image: feedati/tt-rss:latest
build:
context: .
dockerfile: ./docker/Dockerfile-tt-rss
- ./tt-rss:/var/www/html
- ./docker/ttrss-config.php:/var/www/html/config.php:ro
- 8000:80
- 9312:9312
rss-bridge:
image: feedati/rss-bridge:latest
context: ./rss-bridge/
- 8001:80
- APACHE_SERVER_NAME=rss-bridge
webserver:
image: nginx:latest
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- 80:80
postgres_data: