~xdavidwu/flux

31fd5177808225d39717af3b820ea5b65f67e145 — Pinghao Wu 28 days ago cd00e38
containers: prepare for buildssrht control
1 files changed, 24 insertions(+), 0 deletions(-)

A containers/buildssrht.apko.yaml
A containers/buildssrht.apko.yaml => containers/buildssrht.apko.yaml +24 -0
@@ 0,0 1,24 @@
archs: [amd64]

contents:
  repositories:
    - https://dl-cdn.alpinelinux.org/alpine/v3.20/main
    - https://dl-cdn.alpinelinux.org/alpine/v3.20/community
    - https://mirror.sr.ht/alpine/v3.20/sr.ht
  keyring:
    - https://mirror.sr.ht/alpine/alpine@sr.ht.rsa.pub
  packages:
    - busybox
    - builds.sr.ht

accounts:
  groups:
    - groupname: builds
      gid: 101
  users:
    - username: builds
      uid: 101
      shell: /bin/sh
  run-as: builds

cmd: /usr/bin/gunicorn buildsrht.app:app -b 0.0.0.0:5002 -c /etc/sr.ht/builds.sr.ht.gunicorn.conf.py