upload 2 3
This commit is contained in:
parent
4ec910ed1f
commit
be3f53bf36
@ -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 \
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user