mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
🎉 first commit
This commit is contained in:
parent
8c00f9a074
commit
91f4291d9b
21 changed files with 614 additions and 3 deletions
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal 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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue