🎉 first commit

This commit is contained in:
swve 2022-06-26 15:23:03 +02:00
parent 8c00f9a074
commit 91f4291d9b
21 changed files with 614 additions and 3 deletions

25
docker-compose.yml Normal file
View file

@ -0,0 +1,25 @@
version: "3.9"
services:
api:
build: .
ports:
- "1338:80"
volumes:
- .:/usr/learnhouse
mongo:
image: mongo:5.0
restart: always
ports:
- "27017:27017"
environment:
- MONGO_INITDB_ROOT_USERNAME=learnhouse
- MONGO_INITDB_ROOT_PASSWORD=learnhouse
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: learnhouse
ME_CONFIG_MONGODB_ADMINPASSWORD: learnhouse
ME_CONFIG_MONGODB_URL: mongodb://learnhouse:learnhouse@mongo:27017/