mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: add scheduled tasks worker to docker-compose
This commit is contained in:
parent
44ccf01f93
commit
c660ee2dae
1 changed files with 7 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue