[#23] Added needed env vars
This commit is contained in:
parent
5b515ecd91
commit
6954921df6
2 changed files with 2 additions and 0 deletions
1
.env
Normal file
1
.env
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
DATABASE_URL=postgres://fej:fej@fej_db:5432/fej
|
||||||
1
build
1
build
|
|
@ -101,6 +101,7 @@ elif [[ "$action" = run ]]; then
|
||||||
--tty \
|
--tty \
|
||||||
--publish 8000:8000 \
|
--publish 8000:8000 \
|
||||||
--name fej \
|
--name fej \
|
||||||
|
--env-file .env \
|
||||||
--network fej \
|
--network fej \
|
||||||
"$image$([[ "$mode" != "rel" ]] && echo "-dev"):$tags" "$@"
|
"$image$([[ "$mode" != "rel" ]] && echo "-dev"):$tags" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Reference in a new issue