Newsbot.Collector/docker-compose.yaml

53 lines
1.3 KiB
YAML
Raw Normal View History

version: "3"
networks:
newsbot:
volumes:
db:
services:
#db:
# image: postgres:latest
# #ports:
# # - "5432:5432"
# networks:
# - newsbot
# volumes:
# - db:/var/lib/postgresql/data
api:
image: newsbot.collector:latest
environment:
# Used for database migrations
GOOSE_DRIVER: "postgres"
GOOSE_DBSTRING: "host=localhost user=postgres password=postgres dbname=postgres sslmode=disable"
SERVER_ADDRESS: "localhost"
Logging__LogLevel__Default: "Information"
Logging__LogLevel__Microsoft.AspNetCore: "Warning"
Logging__LogLevel__Hangfire: "Information"
ConnectionStrings__Database: "Host=localhost;Username=postgres;Password=postgres;Database=postgres;sslmode=disable"
# Enable/Disable Reddit monitoring
Reddit__IsEnabled: false
Reddit__PullHot: true
Reddit__PullNsfw: true
Reddit__PullTop: true
# Enable/Disable YouTube monitoring
Youtube__IsEnabled: false
TWITCH__IsEnabled: false
# Set your Twitch Developer ID and Secrets here and they will be used to collect updates.
TWITCH__ClientID: ""
TWITCH__ClientSecret: ""
# If you want to collect news on Final Fantasy XIV, set this to true
FFXIV__IsEnabled: false
ports:
- "5001:5000"
networks:
- newsbot