added container name and resource limits
This commit is contained in:
1 parent
f96ac50881
commit
02b1ed90a4
1 file changed
+5
@@ -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
|
||||||
Reference in new issue
Block a user