Compare commits

2 Commits

Author SHA1 Message Date
Ichitux 418694cb08 Merge pull request 'Fixing CORS env' (#43) from cors_fixes into main
Build & Push Docker Images / Detect Changes (push) Successful in 12s
Build & Push Docker Images / Backend Tests (push) Has been skipped
Build & Push Docker Images / Parapharmacy API Tests (push) Has been skipped
Build & Push Docker Images / Frontend Tests (push) Has been skipped
Build & Push Docker Images / Pip Platform Tests (push) Has been skipped
Build & Push Docker Images / Build Backend (push) Has been skipped
Build & Push Docker Images / Build Parapharmacy API (push) Has been skipped
Build & Push Docker Images / Build Pip Platform (push) Has been skipped
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Has been skipped
Reviewed-on: #43
2026-07-17 09:04:47 +00:00
Antoni Nuñez Romeu e290407437 Fixing CORS env
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Has been skipped
Run Tests on Branches / PIP Platform Tests (push) Has been skipped
2026-07-17 11:04:04 +02:00
+2 -2
View File
@@ -27,7 +27,7 @@ services:
PORT: "3001" PORT: "3001"
NODE_ENV: production NODE_ENV: production
SESSION_SECRET: ${SESSION_SECRET:-change-me-in-production} SESSION_SECRET: ${SESSION_SECRET:-change-me-in-production}
CORS_ORIGIN: http://localhost:4000 CORS_ORIGIN: ${CORS_ORIGIN:-https://farmacias.hacecalor.net}
REDIS_HOST: redis REDIS_HOST: redis
REDIS_PORT: "6379" REDIS_PORT: "6379"
REDIS_PASSWORD: ${REDIS_PASSWORD:-} REDIS_PASSWORD: ${REDIS_PASSWORD:-}
@@ -100,7 +100,7 @@ services:
PORT: "3002" PORT: "3002"
NODE_ENV: production NODE_ENV: production
MONGODB_URI: mongodb://mongodb:27017/parapharmacy MONGODB_URI: mongodb://mongodb:27017/parapharmacy
CORS_ORIGIN: ${PARAPHARMACY_CORS_ORIGIN:-http://localhost:4000} CORS_ORIGIN: ${CORS_ORIGIN:-https://farmacias.hacecalor.net}
depends_on: depends_on:
- mongodb - mongodb