Add nginx reverse proxy to compose stack for /bodenfeuchte routing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+12
-2
@@ -1,13 +1,23 @@
|
||||
services:
|
||||
bodenfeuchte:
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
expose:
|
||||
- "3000"
|
||||
volumes:
|
||||
- bodenfeuchte-data:/app/data
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
depends_on:
|
||||
- bodenfeuchte
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
bodenfeuchte-data:
|
||||
|
||||
Reference in New Issue
Block a user