feat: docker networks

This commit is contained in:
2026-07-08 20:29:20 +02:00
parent ce1e57c5f0
commit 8cfec5474c
2 changed files with 43 additions and 3 deletions
+9 -2
View File
@@ -6,11 +6,18 @@ services:
restart: unless-stopped
env_file:
- .env
ports:
- "127.0.0.1:3000:3000"
expose:
- "3000"
networks:
- nginx
healthcheck:
test: ["CMD-SHELL", "wget -q --spider http://127.0.0.1:3000/ || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
networks:
nginx:
external: true
name: nginx