From c43ed10fc4d8aa46e092ccdba85b33f4c507752c Mon Sep 17 00:00:00 2001 From: carla Date: Tue, 24 Jun 2025 09:52:17 +0200 Subject: [PATCH] review(env): shift secret to env file --- .gitignore | 3 +++ Justfile | 2 ++ docker-compose.yml | 10 +++++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 040944d..eef8464 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,6 @@ npm-debug.log /assets/node_modules/ .cursor + +# Ignore the .env file with env variables +.env diff --git a/Justfile b/Justfile index 03debd1..605f152 100644 --- a/Justfile +++ b/Justfile @@ -1,3 +1,5 @@ +set dotenv-load := true + run: install-dependencies start-database migrate-database seed-database mix phx.server diff --git a/docker-compose.yml b/docker-compose.yml index 7fed5d7..c41cc71 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,12 +33,14 @@ services: rauthy: container_name: rauthy-test - image: ghcr.io/sebadob/rauthy:latest + image: ghcr.io/sebadob/rauthy:0.30.2 environment: - LOCAL_TEST=true - SMTP_URL=mailcrab - SMTP_PORT=1025 - SMTP_DANGER_INSECURE=true + - LISTEN_SCHEME=http + - PUB_URL=localhost:8080 - BOOTSTRAP_ADMIN_PASSWORD_PLAIN=RauthyTest12345 #- HIQLITE=false #- PG_HOST=db @@ -54,7 +56,13 @@ services: networks: - rauthy-test - local + volumes: + - type: volume + source: rauthy-data + target: /app/data volumes: postgres-data: + rauthy-data: +