clean up docker compose
This commit is contained in:
parent
09fb240f32
commit
c5172d0e4f
5
.env
5
.env
@ -1,3 +1,4 @@
|
|||||||
|
NODE_ENV=production
|
||||||
POSTGRES_USER=root
|
POSTGRES_USER=root
|
||||||
POSTGRES_PASSWORD=irina76
|
POSTGRES_PASSWORD=irina76
|
||||||
POSTGRES_DB=imk_db
|
POSTGRES_DB=imk_db
|
||||||
@ -6,7 +7,9 @@ DATABASE_URL="postgresql://postgres:postgres@postgres:5432/imk_db?schema=public"
|
|||||||
REDIS_PASSWORD=somerandompassword
|
REDIS_PASSWORD=somerandompassword
|
||||||
|
|
||||||
API_URL="https://imkapi.oblak.solutions"
|
API_URL="https://imkapi.oblak.solutions"
|
||||||
CORS_ORIGIN="[http://localhost:5173,https://www.placebo.mk,https://placebo.mk]"
|
FRONTEND_URL=https://placebo.mk
|
||||||
|
|
||||||
|
CORS_ORIGIN=http://localhost:5173,https://www.placebo.mk,https://placebo.mk
|
||||||
|
|
||||||
JWT_SECRET=some-secret
|
JWT_SECRET=some-secret
|
||||||
AWS_REGION=EU2
|
AWS_REGION=EU2
|
||||||
|
|||||||
@ -7,16 +7,16 @@ services:
|
|||||||
context: ./backend
|
context: ./backend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
# - NODE_ENV=${NODE_ENV}
|
- NODE_ENV=${NODE_ENV}
|
||||||
- API_URL=${API_URL}
|
# - API_URL=${API_URL}
|
||||||
- CORS_ORIGIN=${CORS_ORIGIN}
|
# - CORS_ORIGIN=${CORS_ORIGIN}
|
||||||
- DATABASE_URL=${DATABASE_URL}
|
# - DATABASE_URL=${DATABASE_URL}
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
# - JWT_SECRET=${JWT_SECRET}
|
||||||
- SMTP_HOST=${SMTP_HOST}
|
# - SMTP_HOST=${SMTP_HOST}
|
||||||
- SMTP_PORT=${SMTP_PORT}
|
# - SMTP_PORT=${SMTP_PORT}
|
||||||
- SMTP_USER=${SMTP_USER}
|
# - SMTP_USER=${SMTP_USER}
|
||||||
- SMTP_PASS=${SMTP_PASS}
|
# - SMTP_PASS=${SMTP_PASS}
|
||||||
- EMAIL_FROM=${EMAIL_FROM}
|
# - EMAIL_FROM=${EMAIL_FROM}
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@ -8,15 +8,15 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
- NODE_ENV=${NODE_ENV}
|
- NODE_ENV=${NODE_ENV}
|
||||||
- API_URL=${API_URL}
|
# - API_URL=${API_URL}
|
||||||
- CORS_ORIGIN=${CORS_ORIGIN}
|
# - CORS_ORIGIN=${CORS_ORIGIN}
|
||||||
- DATABASE_URL=${DATABASE_URL}
|
# - DATABASE_URL=${DATABASE_URL}
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
# - JWT_SECRET=${JWT_SECRET}
|
||||||
- SMTP_HOST=${SMTP_HOST}
|
# - SMTP_HOST=${SMTP_HOST}
|
||||||
- SMTP_PORT=${SMTP_PORT}
|
# - SMTP_PORT=${SMTP_PORT}
|
||||||
- SMTP_USER=${SMTP_USER}
|
# - SMTP_USER=${SMTP_USER}
|
||||||
- SMTP_PASS=${SMTP_PASS}
|
# - SMTP_PASS=${SMTP_PASS}
|
||||||
- EMAIL_FROM=${EMAIL_FROM}
|
# - EMAIL_FROM=${EMAIL_FROM}
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user