@@ -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
|
|
||||||
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user