new docker files
This commit is contained in:
@@ -79,6 +79,7 @@ services:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
command: sh -c "npx prisma migrate deploy && node dist/server.js"
|
||||
|
||||
# Frontend (Nginx)
|
||||
frontend:
|
||||
@@ -86,7 +87,9 @@ services:
|
||||
container_name: secure-portal-frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8081:80"
|
||||
- "80:80"
|
||||
environment:
|
||||
VITE_API_URL: ${VITE_API_URL}
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user