diff --git a/.env.example b/.env.example index 2faa63e..38dbcdb 100644 --- a/.env.example +++ b/.env.example @@ -71,3 +71,13 @@ IDHUB_ENABLE_EMAIL=false IDHUB_ENABLE_2FACTOR_AUTH=false IDHUB_ENABLE_DOMAIN_CHECKER=false IDHUB_PREDEFINED_TOKEN='27f944ce-3d58-4f48-b068-e4aa95f97c95' + + + +#POSTGRES VARS + +DB_NAME="devicehub" +DB_USER="ereuse" +DB_PASSWORD="ereuse" +DB_DOMAIN=localhost +DB_PORT=8000 diff --git a/docker/devicehub-django.Dockerfile b/docker/devicehub-django.Dockerfile index 7c6d35d..a676bdd 100644 --- a/docker/devicehub-django.Dockerfile +++ b/docker/devicehub-django.Dockerfile @@ -4,6 +4,7 @@ FROM python:3.11.10-slim-bookworm RUN apt update && \ apt-get install -y \ python3-xapian \ + python3-psycopg2 \ git \ sqlite3 \ curl \