From a34f5f95be64c2930de1f4c13fbe2015407cd38a Mon Sep 17 00:00:00 2001 From: nonamethanks Date: Mon, 7 Mar 2022 03:10:51 +0100 Subject: [PATCH] docker-compose: do db:seed before server start This is needed to create DanbooruBot and enable uploads, among other things. --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 53cad39db..982c15daa 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -39,7 +39,7 @@ services: - /tmp depends_on: - postgres - command: ["bash", "-c", "bin/rails db:prepare && bin/rails server -b 0.0.0.0"] + command: ["bash", "-c", "bin/rails db:prepare && bin/rails db:seed && bin/rails server -b 0.0.0.0"] cron: user: root