From 6954921df622bdf5cd456154c407330be7fca837 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 15 Apr 2021 17:31:45 +0200 Subject: [PATCH] [#23] Added needed env vars --- .env | 1 + build | 1 + 2 files changed, 2 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..880c44c --- /dev/null +++ b/.env @@ -0,0 +1 @@ +DATABASE_URL=postgres://fej:fej@fej_db:5432/fej diff --git a/build b/build index 484a8ab..962d14c 100755 --- a/build +++ b/build @@ -101,6 +101,7 @@ elif [[ "$action" = run ]]; then --tty \ --publish 8000:8000 \ --name fej \ + --env-file .env \ --network fej \ "$image$([[ "$mode" != "rel" ]] && echo "-dev"):$tags" "$@" fi