added container name and resource limits

This commit is contained in:
2026-04-29 22:36:49 -07:00
parent f96ac50881
commit 02b1ed90a4
+5
View File
@@ -1,6 +1,11 @@
services: services:
app: app:
image: corentinth/it-tools:latest image: corentinth/it-tools:latest
container_name: ittools
ports: ports:
- ${IT_TOOLS_PORT}:80 - ${IT_TOOLS_PORT}:80
deploy:
resources:
limits:
memory: 512m
restart: unless-stopped restart: unless-stopped