mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-12 01:36:54 +02:00
Update default application port to 5555
Change the default exposed port and environment variable PORT from 5000 to 5555 in Dockerfile and docker-compose.yml. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/p0c5kxJ
This commit is contained in:
1 parent
5fcbd33a42
commit
d8fd97f037
2 files changed
+6
-6
No files matched your search
+3
-3
@@ -40,12 +40,12 @@ COPY --from=builder /app/shared ./shared
|
||||
COPY --from=builder /app/drizzle.config.ts ./
|
||||
COPY --from=builder /app/drizzle ./drizzle
|
||||
|
||||
# Exposer le port 5000
|
||||
EXPOSE 5000
|
||||
# Exposer le port 5555
|
||||
EXPOSE 5555
|
||||
|
||||
# Variables d'environnement par défaut
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=5000
|
||||
ENV PORT=5555
|
||||
|
||||
# Démarrer l'application
|
||||
CMD ["npm", "run", "start"]
|
||||
+3
-3
@@ -34,14 +34,14 @@ services:
|
||||
# Port non exposé publiquement car nginx reverse proxy accède via le réseau Docker
|
||||
# Décommentez si vous avez besoin d'accéder directement sans nginx :
|
||||
# ports:
|
||||
# - "${PORT:-5000}:5000"
|
||||
# - "${PORT:-5555}:5555"
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 5000
|
||||
PORT: 5555
|
||||
DATABASE_URL: postgresql://${PGUSER:-socialflow}:${PGPASSWORD:-changeme}@postgres:5432/${PGDATABASE:-socialflow}
|
||||
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
|
||||
SESSION_SECRET: ${SESSION_SECRET:-your-secret-key-change-me}
|
||||
APP_URL: ${APP_URL:-http://localhost:5000}
|
||||
APP_URL: ${APP_URL:-http://localhost:5555}
|
||||
networks:
|
||||
- internal
|
||||
- nginx_default
|
||||
|
||||
Reference in new issue
Block a user