[#24] Initialized diesel project

This commit is contained in:
Jef Roosens 2021-04-15 17:53:35 +02:00
parent 5e28949b5c
commit 727589b10f
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
9 changed files with 88 additions and 7 deletions

3
build
View file

@ -81,6 +81,7 @@ elif [[ "$action" = run ]]; then
--detach \
--name fej_db \
--network fej \
-p 5432:5432 \
-e "POSTGRES_DB=fej" \
-e "POSTGRES_USER=fej" \
-e "POSTGRES_PASSWORD=fej" \
@ -101,7 +102,7 @@ elif [[ "$action" = run ]]; then
--tty \
--publish 8000:8000 \
--name fej \
--env-file .env \
--env-file .env.container \
--network fej \
"$image$([[ "$mode" != "rel" ]] && echo "-dev"):$tags" "$@"
fi