fixed the name and variables

This commit is contained in:
2026-05-11 10:43:12 -07:00
parent cbc3fb6010
commit 5edac1fd2a
2 changed files with 14 additions and 9 deletions
+7 -2
View File
@@ -1,2 +1,7 @@
# Main interface port for accessing the application # IT-Tools Docker Compose Environment Variables
IT_TOOLS_PORT="8000"
# Container image version tag (e.g. "latest" or a specific release tag)
IT-TOOLS_VERSION=latest
# Host port to expose the IT-Tools web UI on
IT-TOOLS_PORT=8000
+7 -7
View File
@@ -1,17 +1,17 @@
services: services:
app: app:
image: corentinth/it-tools:latest image: corentinth/it-tools:${IT-TOOLS_VERSION:-latest}
container_name: it-tools container_name: it-tools-app
ports: ports:
- ${IT_TOOLS_PORT}:80 - ${IT-TOOLS_PORT:-8000}:80
deploy:
resources:
limits:
memory: 512m
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1/ || exit 1"] test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1/ || exit 1"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
start_period: 15s start_period: 15s
deploy:
resources:
limits:
memory: 512m
restart: unless-stopped restart: unless-stopped