ppp
This commit is contained in:
parent
a086841ef6
commit
0956810ce0
2
.env
2
.env
@ -1,7 +1,7 @@
|
||||
POSTGRES_USER=root
|
||||
POSTGRES_PASSWORD=irina76
|
||||
POSTGRES_DB=imk_db
|
||||
DATABASE_URL="postgresql://root:irina76@postgres:5432/imk_db?schema=public"
|
||||
DATABASE_URL="postgresql://postgres:postgres@postgres:5432/imk_db?schema=public"
|
||||
#DATABASE_URL="postgresql://root:irina76@localhost:5432/imk?schema=public"
|
||||
REDIS_PASSWORD=somerandompassword
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
POSTGRES_USER=root
|
||||
POSTGRES_PASSWORD=irina76
|
||||
POSTGRES_DB=imk_db
|
||||
DATABASE_URL="postgresql://root:irina76@postgres:5432/imk_db?schema=public"
|
||||
DATABASE_URL="postgresql://postgres:postgres@postgres:5432/imk_db?schema=public"
|
||||
|
||||
API_URL="https://imkapi.oblak.solutions"
|
||||
CORS_ORIGIN="[http://localhost:5173,https://www.placebo.mk,https://placebo.mk]"
|
||||
|
||||
@ -7,7 +7,7 @@ services:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- NODE_ENV=${NODE_ENV}
|
||||
# - NODE_ENV=${NODE_ENV}
|
||||
- API_URL=${API_URL}
|
||||
- CORS_ORIGIN=${CORS_ORIGIN}
|
||||
- DATABASE_URL=${DATABASE_URL}
|
||||
@ -20,7 +20,7 @@ services:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NODE_ENV=${NODE_ENV}
|
||||
# - NODE_ENV=${NODE_ENV}
|
||||
- API_URL=${API_URL}
|
||||
- CORS_ORIGIN=${CORS_ORIGIN}
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
||||
|
||||
@ -7,7 +7,7 @@ services:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- NODE_ENV=${NODE_ENV}
|
||||
# - NODE_ENV=${NODE_ENV}
|
||||
- API_URL=${API_URL}
|
||||
- CORS_ORIGIN=${CORS_ORIGIN}
|
||||
- DATABASE_URL=${DATABASE_URL}
|
||||
@ -20,7 +20,7 @@ services:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NODE_ENV=${NODE_ENV}
|
||||
# - NODE_ENV=${NODE_ENV}
|
||||
- API_URL=${API_URL}
|
||||
- CORS_ORIGIN=${CORS_ORIGIN}
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user