created omnitools
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
# OmniTools - Docker Compose Environment Variables
|
||||||
|
|
||||||
|
# Docker image tag to use for the omni-tools container
|
||||||
|
# Find available tags at: https://hub.docker.com/r/iib0011/omni-tools/tags
|
||||||
|
OMNITOOLS_VERSION=latest
|
||||||
|
|
||||||
|
# Host port to expose the web UI on
|
||||||
|
OMNITOOLS_PORT=8000
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: iib0011/omni-tools:${OMNITOOLS_VERSION:-latest}
|
||||||
|
container_name: omnitools-app
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
ports:
|
||||||
|
- ${OMNITOOLS_PORT:-8000}:80
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "--spider", "-q", "http://localhost:80"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 10s
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 512M
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user