# showcase at code.danieldaum.net. The reverse proxy terminates TLS and # forwards to 127.0.0.1:8080. config.json sits next to this file. # Image: showcase 0.1.0 (linux/amd64 + linux/arm64), pinned by digest, from # Gitea's registry on the tailnet. services: showcase: image: code.aardvark-halibut.ts.net/daniel/showcase@sha256:e5d3d45006795cbf34f6e43780803f76731a3d1d2b31a8ea7bb333c719399e16 container_name: showcase restart: unless-stopped ports: - "127.0.0.1:8080:8080" volumes: - showcase-data:/data - ./config.json:/config.json:ro # only /data is writable; no capabilities needed read_only: true cap_drop: - ALL security_opt: - no-new-privileges:true # a flood of clones or a runaway build stays inside these. Builds hold # blobs up to 50 MB plus git's own memory; raise mem_limit if a build # gets OOM-killed (docker inspect shows OOMKilled=true). mem_limit: 512m memswap_limit: 512m cpus: "1.0" pids_limit: 256 networks: - holonet volumes: showcase-data: name: showcase-data networks: holonet: external: true