Feedati/docker-compose.yml

45 lines
1 KiB
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
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
volumes:
2018-08-01 18:27:59 +02:00
- ./tt-rss:/var/www/html
- ./docker/ttrss-config.php:/var/www/html/config.php:ro
2018-07-31 16:36:00 +02:00
ports:
- 8000:80
- 9312:9312
2018-07-31 16:36:00 +02:00
rss-bridge:
image: feedati/rss-bridge:latest
build:
context: ./rss-bridge/
ports:
- 8001:80
2018-08-01 00:06:27 +02:00
environment:
- APACHE_SERVER_NAME=rss-bridge
2018-07-31 16:36:00 +02:00
webserver:
image: nginx:latest
volumes:
2018-08-01 00:06:09 +02:00
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
2018-07-31 16:36:00 +02:00
ports:
- 80:80
volumes:
postgres_data: