fixed the name and variables
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
# Main interface port for accessing the application
|
||||
IT_TOOLS_PORT="8000"
|
||||
# IT-Tools Docker Compose Environment Variables
|
||||
|
||||
# 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
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
services:
|
||||
app:
|
||||
image: corentinth/it-tools:latest
|
||||
container_name: it-tools
|
||||
image: corentinth/it-tools:${IT-TOOLS_VERSION:-latest}
|
||||
container_name: it-tools-app
|
||||
ports:
|
||||
- ${IT_TOOLS_PORT}:80
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512m
|
||||
- ${IT-TOOLS_PORT:-8000}:80
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1/ || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512m
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user