Add Docker Compose for MOTK Shoot (local-subnet only, no traefik)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
motk-shoot:
|
||||
image: nginx:alpine
|
||||
container_name: motk-shoot
|
||||
restart: unless-stopped
|
||||
# Serve MOTK Shoot statically from the repo / cloned source
|
||||
volumes:
|
||||
- ./app:/usr/share/nginx/html:ro
|
||||
ports:
|
||||
# Only expose to local subnet / dockhand; not via traefik
|
||||
- "192.168.0.0/24:8080:80"
|
||||
# No traefik labels — intentionally excluded
|
||||
networks:
|
||||
- dockhand-local
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost/"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
networks:
|
||||
dockhand-local:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.30.0.0/16
|
||||
Reference in New Issue
Block a user