feat: add scheduled tasks worker to docker-compose

This commit is contained in:
spiral 2021-11-01 01:46:07 -04:00
parent 44ccf01f93
commit c660ee2dae
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -27,6 +27,13 @@ services:
- "127.0.0.1:2838:5000" - "127.0.0.1:2838:5000"
restart: unless-stopped restart: unless-stopped
scheduled_tasks:
image: pluralkit
command: ["bin/PluralKit.ScheduledTasks.dll"]
environment:
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000"
restart: unless-stopped
db: db:
image: postgres:12-alpine image: postgres:12-alpine
volumes: volumes: