This commit is contained in:
Rahul 2024-02-29 09:33:34 +01:00
parent 501d8a8d8e
commit 3226975910
76 changed files with 48623 additions and 3401 deletions

28
docker-compose.yaml Normal file
View file

@ -0,0 +1,28 @@
version: '3.8'
services:
nextjs:
build:
context: .
dockerfile: Dockerfile.nextjs
restart: always
pm2:
build:
context: .
dockerfile: Dockerfile.pm2
volumes:
- ./pm2.config.js:/pm2/pm2.config.js
restart: always
depends_on:
- nextjs
nginx:
build:
context: .
dockerfile: Dockerfile.nginx
ports:
- "80:80"
restart: always
depends_on:
- pm2