added container name and resource limits
This commit is contained in:
@@ -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