From 23a004b91e12f3d36f47392b566347fe31ce8b00 Mon Sep 17 00:00:00 2001 From: Javier Marcos <1271349+javuto@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:45:43 +0200 Subject: [PATCH] Using session key for docker dev osctrl-admin --- .env.example | 1 + docker-compose-dev.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.example b/.env.example index b7c1da35..5e5970de 100644 --- a/.env.example +++ b/.env.example @@ -7,6 +7,7 @@ POSTGRES_DB_USERNAME=osctrl POSTGRES_DB_PASSWORD=osctrl REDIS_VERSION=6.2.6-alpine3.15 JWT_SECRET=0000000000000000000000000000000000000000000000000000000000000000 +SESSION_KEY=sessionkey OSCTRL_USER=admin OSCTRL_PASS=Changeme123! GOLANG_VERSION=1.21.3 diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 3e7b36cc..8dbbc9d6 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -85,6 +85,7 @@ services: - JWT_SECRET=${JWT_SECRET} - SERVICE_LOGGER=db - LOGGER_DB_SAME=true + - SESSION_KEY=${SESSION_KEY} #### Database settings #### - DB_HOST=osctrl-postgres - DB_NAME=${POSTGRES_DB_NAME}