34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
# Portainer stack for 200feet.net.
|
|
# In Portainer: Stacks -> Add stack -> Repository (this file) OR paste the YAML.
|
|
#
|
|
# Replace the published-port mapping with your reverse-proxy labels if you run
|
|
# Traefik/Caddy in front (see commented-out labels below).
|
|
|
|
services:
|
|
web:
|
|
image: registry.davidadams.rocks/200feet:latest
|
|
container_name: 200feet-web
|
|
restart: unless-stopped
|
|
pull_policy: always
|
|
ports:
|
|
- "8080:80" # remove if your reverse proxy attaches by label
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1/healthz"]
|
|
interval: 30s
|
|
timeout: 3s
|
|
retries: 3
|
|
start_period: 5s
|
|
# ---- Optional Traefik labels (uncomment + edit if you use Traefik) ----
|
|
# labels:
|
|
# - "traefik.enable=true"
|
|
# - "traefik.http.routers.200feet.rule=Host(`200feet.info`)"
|
|
# - "traefik.http.routers.200feet.entrypoints=websecure"
|
|
# - "traefik.http.routers.200feet.tls.certresolver=letsencrypt"
|
|
# - "traefik.http.services.200feet.loadbalancer.server.port=80"
|
|
networks:
|
|
- default
|
|
|
|
networks:
|
|
default:
|
|
name: 200feet
|