fix: update environment variables and correct front service port in docker-compose.prod.yml
This commit is contained in:
@@ -21,6 +21,12 @@ services:
|
||||
- "${API_HOST_PORT:-3001}:3000"
|
||||
environment:
|
||||
DATABASE_URL: postgresql://nest_user:nest_password@db:5432/nest_db
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
ADMIN_USERNAME: ${ADMIN_USERNAME}
|
||||
ADMIN_EMAIL: ${ADMIN_EMAIL}
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
||||
FRONT_ORIGIN: ${FRONT_ORIGIN:-http://localhost:5173}
|
||||
INTRA_ORIGIN: ${INTRA_ORIGIN:-http://localhost:5174}
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
@@ -29,7 +35,7 @@ services:
|
||||
image: git.crowmate.fr/crowmate/nest-front:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5143:80"
|
||||
- "5173:80"
|
||||
environment:
|
||||
API_URL: http://api:3000
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user