mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
chore(docker): bascule du port de 3000 vers 5643
This commit is contained in:
1 parent
dc51957cb3
commit
96eac4e35c
3 files changed
+4
-4
No files matched your search
+2
-2
@@ -45,9 +45,9 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
|||||||
|
|
||||||
USER nextjs
|
USER nextjs
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 5643
|
||||||
|
|
||||||
ENV PORT=3000
|
ENV PORT=5643
|
||||||
# set hostname to localhost
|
# set hostname to localhost
|
||||||
ENV HOSTNAME="0.0.0.0"
|
ENV HOSTNAME="0.0.0.0"
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ npm run docker:build
|
|||||||
# ou directement
|
# ou directement
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
```
|
```
|
||||||
L'application sera accessible sur [http://localhost:3000](http://localhost:3000).
|
L'application sera accessible sur [http://localhost:5643](http://localhost:5643).
|
||||||
|
|
||||||
*L'application sera attachée au réseau Docker externe `nginx_default` afin d'être exposée derrière votre reverse proxy Nginx. Assurez-vous que ce réseau existe (`docker network create nginx_default`).*
|
*L'application sera attachée au réseau Docker externe `nginx_default` afin d'être exposée derrière votre reverse proxy Nginx. Assurez-vous que ce réseau existe (`docker network create nginx_default`).*
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "5643:5643"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
# L'URL de la base de données peut être passée ici si nécessaire (ex: postgres://user:pass@host:5432/db)
|
# L'URL de la base de données peut être passée ici si nécessaire (ex: postgres://user:pass@host:5432/db)
|
||||||
|
|||||||
Reference in new issue
Block a user