docker add

This commit is contained in:
Devit
2026-04-16 01:35:34 +05:00
parent 49e512ecf6
commit d224adc3a3
9 changed files with 190 additions and 0 deletions

29
docker-compose.yml Normal file
View File

@@ -0,0 +1,29 @@
services:
nextjs:
build:
context: .
dockerfile: Dockerfile
container_name: eclassify_nextjs
restart: always
environment:
- NODE_ENV=production
networks:
- devit_network
nginx:
image: nginx:alpine
container_name: eclassify_nginx
restart: always
ports:
- "48680:80"
- "48643:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- nextjs
networks:
- devit_network
networks:
devit_network:
driver: bridge