This commit is contained in:
louiscklaw
2025-01-31 21:26:01 +08:00
parent c9ec760f31
commit 7d30025aed
211 changed files with 144112 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
version: "3.1"
services:
mongo:
image: mongo
restart: always
ports:
- 127.0.0.1:27017:27017
mongo-express:
image: mongo-express
restart: always
ports:
- 127.0.0.1:8081:8081
webdev:
image: node:14-buster
# user: 1000:1000
volumes:
- .:/app
working_dir: /app
ports:
- 127.0.0.1:3000:3000
- 127.0.0.1:9229:9229
environment:
- NODE_OPTIONS=--inspect=0.0.0.0:9229
command: sleep infinity