From 97552c1ce2ef2d3902e0e5c3557beb19f658abe1 Mon Sep 17 00:00:00 2001 From: yuli Date: Wed, 28 Sep 2022 23:36:40 +0300 Subject: [PATCH] minor fix to wait for the db to bre ready --- docker-compose-pgsql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose-pgsql.yml b/docker-compose-pgsql.yml index 8b69295..0c12175 100644 --- a/docker-compose-pgsql.yml +++ b/docker-compose-pgsql.yml @@ -21,7 +21,7 @@ services: depends_on: - postgresql entrypoint: /bin/sh - command: -c "/databunker/bin/databunker -init -db databunkerdb" + command: -c "/bin/busybox sleep 3; /databunker/bin/databunker -init -db databunkerdb" databunker: #build: . image: securitybunker/databunker:latest