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