Skip to content

Commit

Permalink
modif docker compose prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyR01 committed Jul 5, 2024
1 parent cdc4861 commit 3c814b1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
services:
backend:
image: wildrent9/wildrent-back
ports:
- 4000:4000
# ports:
# - 4000:4000
volumes:
- ./backend/src:/app/src
healthcheck:
Expand All @@ -22,8 +22,8 @@ services:
- CHOKIDAR_USEPOLLING=true
- WATCHPACK_POLLING=true
env_file: .env.dev
ports:
- 3000:3000
# ports:
# - 3000:3000
volumes:
- ./frontend/src:/app/src
depends_on:
Expand All @@ -33,8 +33,8 @@ services:
db:
image: postgres
restart: always
ports:
- "5434:5432"
# ports:
# - "5434:5432"
environment:
POSTGRES_PASSWORD: wildrent
healthcheck:
Expand All @@ -49,10 +49,10 @@ services:
volumes:
- ./imagesupload/src:/app/src
- ./imagesupload/uploads:/app/uploads
ports:
- 8000:8000
nginx:
image: nginx:1.21.3
# ports:
# - 8000:8000
gateway:
image: nginx
depends_on:
- backend
- frontend
Expand All @@ -62,7 +62,7 @@ services:
- 7000:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- pgdata_new1:/pgdata_new1
# - pgdata_new1:/pgdata_new1
- ./logs:/var/log/nginx
adminer:
image: adminer
Expand All @@ -75,8 +75,8 @@ services:
image: rediscommander/redis-commander
environment:
- REDIS_HOSTS=redis
ports:
- "8081:8081"
# ports:
# - "8081:8081"

volumes:
pgdata_new1:

0 comments on commit 3c814b1

Please sign in to comment.