[#24] Initialized diesel project
This commit is contained in:
parent
5e28949b5c
commit
727589b10f
9 changed files with 88 additions and 7 deletions
3
build
3
build
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue