Feedati/docker-compose.yml

40 lines
905 B
YAML
Raw Normal View History

2018-07-31 16:36:00 +02:00
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
tt-rss:
image: feedati/tt-rss:latest
build:
context: .
dockerfile: ./docker/Dockerfile-tt-rss
volumes:
- ./tt-rss:/var/www/html/tt-rss
- ./docker/config.php:/var/www/html/tt-rss/config.php:ro
ports:
- 8000:80
rss-bridge:
image: feedati/rss-bridge:latest
build:
context: ./rss-bridge/
ports:
- 8001:80
webserver:
image: nginx:latest
volumes:
- ./docker/rss.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- 80:80
volumes:
postgres_data: