29 lines
668 B
YAML
29 lines
668 B
YAML
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
|