Merge pull request #5 from uja-dev-practices/backend-v3

env update
This commit is contained in:
Mireya Cueto Garrido
2026-04-27 13:53:29 +02:00
committed by GitHub
3 changed files with 13 additions and 5 deletions
-4
View File
@@ -1,4 +0,0 @@
ORCID_CLIENT_ID=
ORCID_CLIENT_SECRET=
DATABASE_URL=postgresql://postgres:postgres@db:5432/orcid_db
REDIS_URL=redis://redis:6379/0
+10
View File
@@ -0,0 +1,10 @@
ORCID_CLIENT_ID=123412341234
ORCID_CLIENT_SECRET=123412341234
API_KEY_NAME=X-API-Key
API_KEY_VALUE=123412341234
DATABASE_URL=postgresql://postgres:postgres@db:5432/orcid_db
REDIS_URL=redis://redis:6379/0
BASE_URL=http://localhost:8000/api
+3 -1
View File
@@ -9,7 +9,7 @@ services:
ports: ports:
- "8000:8000" - "8000:8000"
env_file: env_file:
- .env - ./backend/.env
environment: environment:
DATABASE_URL: postgresql://postgres:postgres@db:5432/orcid_db DATABASE_URL: postgresql://postgres:postgres@db:5432/orcid_db
REDIS_URL: redis://redis:6379/0 REDIS_URL: redis://redis:6379/0
@@ -25,6 +25,8 @@ services:
- "5173:5173" - "5173:5173"
depends_on: depends_on:
- backend - backend
env_file:
- ./frontend/.env
db: db:
image: postgres:16 image: postgres:16