fix setup scripts

This commit is contained in:
root
2021-04-28 21:06:03 +00:00
parent b115be50a7
commit e1141874ff
2 changed files with 3 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ services:
- mysql
entrypoint: /bin/sh
# at first, this docker will wait for MySQL init to be ready.
command: -c "/bin/busybox sleep 20 ; /databunker/bin/databunker -init -db databunkerdb"
command: -c "/bin/busybox sleep 25 ; /databunker/bin/databunker -init -db databunkerdb"
databunker:
#build: .
image: securitybunker/databunker:latest

View File

@@ -1,6 +1,7 @@
#!/bin/sh
mkdir data
echo 'create ./data directory'
mkdir data || true
chmod 777 data
mkdir -p .env