From c660ee2daeea869e2ec7f8a3facb8f87c30ec915 Mon Sep 17 00:00:00 2001 From: spiral Date: Mon, 1 Nov 2021 01:46:07 -0400 Subject: [PATCH] feat: add scheduled tasks worker to docker-compose --- docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 214e0ba9..669e86f9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,13 @@ services: - "127.0.0.1:2838:5000" 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: image: postgres:12-alpine volumes: