57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
version: "3.6"
|
|
|
|
services:
|
|
db:
|
|
image: postgres:10
|
|
container_name: feedati_db
|
|
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
|
|
container_name: feedati_tt_rss
|
|
volumes:
|
|
- ./tt-rss:/app/public/tt-rss/
|
|
- ./docker/ttrss-config.php:/app/public/tt-rss/config.php:ro
|
|
ports:
|
|
- 8000:80
|
|
- 9312:9312
|
|
environment:
|
|
- APACHE_SERVER_NAME=tt-rss
|
|
- PHP_DISPLAY_ERRORS=stdout
|
|
- PHP_DISPLAY_STARTUP_ERROR=1
|
|
depends_on:
|
|
- db
|
|
|
|
rss-bridge:
|
|
image: feedati/rss-bridge:latest
|
|
build:
|
|
context: ./rss-bridge/
|
|
container_name: feedati_rss_bridge
|
|
ports:
|
|
- 8001:80
|
|
environment:
|
|
- APACHE_SERVER_NAME=rss-bridge
|
|
|
|
webserver:
|
|
image: nginx:latest
|
|
container_name: feedati_webserver
|
|
volumes:
|
|
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
ports:
|
|
- 80:80
|
|
depends_on:
|
|
- tt-rss
|
|
- rss-bridge
|
|
|
|
volumes:
|
|
postgres_data:
|