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 volumes: - ./tt-rss:/var/www/html/tt-rss - ./docker/config.php:/var/www/html/tt-rss/config.php:ro ports: - 8000:80 - 9312:9312 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: