upload 2 3

This commit is contained in:
yznahmad 2025-07-24 14:14:06 +03:00
parent 4ec910ed1f
commit be3f53bf36
3 changed files with 5 additions and 5 deletions

View File

@ -88,10 +88,10 @@ RUN chmod +x /app/start.sh
USER remix USER remix
EXPOSE 3000 EXPOSE 5173
ENV NODE_ENV=production ENV NODE_ENV=production
ENV PORT=3000 ENV PORT=5173
# Health check with wget (more reliable than node) # Health check with wget (more reliable than node)
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \ HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \

View File

@ -9,10 +9,10 @@ services:
container_name: phosphat-report-app container_name: phosphat-report-app
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${APP_PORT:-3000}:3000" - "${APP_PORT:-5173}:5173"
environment: environment:
- NODE_ENV=production - NODE_ENV=production
- PORT=3000 - PORT=5173
- DATABASE_URL=file:/app/data/production.db - DATABASE_URL=file:/app/data/production.db
- SESSION_SECRET=${SESSION_SECRET} - SESSION_SECRET=${SESSION_SECRET}
- SUPER_ADMIN=${SUPER_ADMIN} - SUPER_ADMIN=${SUPER_ADMIN}

View File

@ -9,7 +9,7 @@ services:
container_name: phosphat-report-app container_name: phosphat-report-app
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${APP_PORT:-3000}:3000" - "${APP_PORT:-5173}:5173"
environment: environment:
- NODE_ENV=production - NODE_ENV=production
- PORT=3000 - PORT=3000