docker compose file added for deployment

This commit is contained in:
2026-01-22 22:34:12 +05:30
parent 9d7109b60f
commit c76d533783
13 changed files with 267 additions and 4 deletions

41
docker-compose.yaml Normal file
View File

@@ -0,0 +1,41 @@
services:
# Backend API
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: ocr_backend
restart: always
environment:
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
DB_NAME: ${DB_NAME}
# Mail Config
MAIL_SERVER: ${MAIL_SERVER}
MAIL_PORT: ${MAIL_PORT}
MAIL_USERNAME: ${MAIL_USERNAME}
MAIL_PASSWORD: ${MAIL_PASSWORD}
ports:
- "8000:8000"
networks:
- arbit-network
# Frontend Angular App
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: ocr_frontend
restart: always
ports:
- "8080:80"
networks:
- arbit-network
networks:
arbit-network:
external: true
name: arbit-app_arbit-network