kann deployed werde (zum ersten Mal)

This commit is contained in:
2025-08-19 13:43:37 +00:00
parent b3b411db1a
commit e7e6cb97ca
12 changed files with 453 additions and 92 deletions

View File

@@ -1,18 +1,15 @@
services:
app:
build: .
container_name: esp-app
container_name: esp2sensor
ports:
- "3000:3000"
environment:
- PORT=3000
- MONGO_URI=mongodb://mongo:27017
- DB_NAME=espdb
depends_on:
- mongo
volumes:
- .:/app # bind mount für Live-Reload
- /app/node_modules # node_modules vom Host nicht überschreiben
- ./log:/var/log
restart: unless-stopped
mongo: