Initial commit

This commit is contained in:
2020-12-12 18:38:31 +01:00
commit f877b78f33
117 changed files with 23104 additions and 0 deletions

14
entrypoint.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
# wait until PG is ready
while ! pg_isready -q -h $POSTGRES_HOST -p 5432 -U $POSTGRES_USER
do
echo "$(date) - waiting for database to start"
sleep 1
done
# run migrations
./bin/confient eval Confient.Release.migrate
# start the app
./bin/confient start