sha256:569698ddb950e5dbfeaee7e633b3e8dec1edcc0e530a9cc3c0ce43f265f48511
Last pushed
7 months by codingjoe
Type
Compose
Manifest digest
sha256:569698ddb950e5dbfeaee7e633b3e8dec1edcc0e530a9cc3c0ce43f265f48511
name: containers
networks:
app:
driver: bridge
internal: true
name: containers_app
app-wan:
driver: bridge
name: containers_app-wan
caddy:
external: true
name: caddy
services:
web:
deploy:
mode: replicated
replicas: 2
resources:
limits:
cpus: "2"
memory: 512M
environment:
HOSTNAME: ${HOSTNAME:-localhost}
PORT: ${PORT:-8000}
image: traefik/whoami:latest
labels:
caddy: ${HOSTNAME:-localhost}
caddy.reverse_proxy: '{{upstreams ${PORT:-8000}}}'
caddy.reverse_proxy.health_headers.X-Forwarded-Host: ${HOSTNAME:-localhost}
caddy.reverse_proxy.health_headers.X-Forwarded-Proto: https
caddy.reverse_proxy.health_uri: /
caddy.reverse_proxy.lb_policy: round_robin
memswap_limit: 1g
networks:
app: null
app-wan: null
caddy: null
stop_grace_period: 1m
docker compose -f oci://codingjoe/the-box-web:0.0.7 upUse the above command to pull and run the Compose file. Learn more.
Tiny Go webserver that prints OS information and HTTP request to output
Pulls
10M+
Stars
72
Last Updated
about 2 months