showcase
- v0.2.4
- 37 commits
- 1 branch
- 6 tags
- updated
- CI 2/2
compose.yaml
1.1 KB · 41 lines
1# showcase at code.danieldaum.net. The reverse proxy terminates TLS and2# forwards to 127.0.0.1:8080. config.json sits next to this file.3# Image: showcase 0.1.0 (linux/amd64 + linux/arm64), pinned by digest, from4# Gitea's registry on the tailnet.5services:6 showcase:7 image: code.aardvark-halibut.ts.net/daniel/showcase@sha256:e5d3d45006795cbf34f6e43780803f76731a3d1d2b31a8ea7bb333c719399e168 container_name: showcase9 restart: unless-stopped10 ports:11 - "127.0.0.1:8080:8080"1213 volumes:14 - showcase-data:/data15 - ./config.json:/config.json:ro1617 # only /data is writable; no capabilities needed18 read_only: true19 cap_drop:20 - ALL21 security_opt:22 - no-new-privileges:true2324 # a flood of clones or a runaway build stays inside these. Builds hold25 # blobs up to 50 MB plus git's own memory; raise mem_limit if a build26 # gets OOM-killed (docker inspect shows OOMKilled=true).27 mem_limit: 512m28 memswap_limit: 512m29 cpus: "1.0"30 pids_limit: 2563132 networks:33 - holonet3435volumes:36 showcase-data:37 name: showcase-data3839networks:40 holonet:41 external: true