This commit is contained in:
louiscklaw
2025-02-01 02:02:22 +08:00
commit cb49efbeca
213 changed files with 144159 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