Initial build w/ chart
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2023-05-10 11:42:08 +02:00
parent 403c64577e
commit 29f8f24d09
12 changed files with 420 additions and 0 deletions

19
init/entrypoint.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/bash
args="$@"
args="$@ -p 80"
file=/data/db.json
if [ -f $file ]; then
echo "Found db.json, trying to open"
args="$args db.json"
fi
file=/data/file.js
if [ -f $file ]; then
echo "Found file.js seed file, trying to open"
args="$args file.js"
fi
json-server $args