This commit is contained in:
Matteo Baldi 2025-08-01 22:38:20 +02:00
parent 02878f4696
commit 4ed1e88dc2
6 changed files with 20 additions and 1 deletions

3
.gitignore vendored
View file

@ -1 +1,2 @@
.idea
.idea
backend/.env

View file

@ -0,0 +1,3 @@
# ENV
- MONGO_INITDB_ROOT_USERNAME=
- MONGO_INITDB_ROOT_PASSWORD=

0
backend/db/__init__.py Normal file
View file

0
backend/db/schemas.py Normal file
View file

View file

@ -0,0 +1,15 @@
services:
mongodb:
image: mongo:8.0.0
container_name: mongodb
restart: unless-stopped
ports:
- "27017:27017"
environment:
- MONGO_INITDB_ROOT_USERNAME=${MONGO_INITDB_ROOT_USERNAME}
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_INITDB_ROOT_PASSWORD}
volumes:
- mongo-data:/data/db
volumes:
mongo-data:

0
backend/requirements.txt Normal file
View file