Skip to content

Commit

Permalink
add: docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaBhattacharjee committed Mar 12, 2024
1 parent f7db5ba commit 9b8130a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: '3'

services:
frontend:
container_name: Animetrix
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
ports:
- "3000:3000"
depends_on:
- backend

backend:
container_name: mongodb
image: mongo
restart: always
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db

volumes:
mongodb_data:

0 comments on commit 9b8130a

Please sign in to comment.