~xdavidwu/flux

a73fa21c82642ef1f454e5501cd19626c7f19fe0 — Pinghao Wu a month ago aeb2e34
containers: import pastesrht
1 files changed, 24 insertions(+), 0 deletions(-)

A containers/pastesrht.apko.yaml
A containers/pastesrht.apko.yaml => containers/pastesrht.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
    - paste.sr.ht

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

cmd: /usr/bin/gunicorn pastesrht.app:app -b 0.0.0.0:5011 -c /etc/sr.ht/paste.sr.ht.gunicorn.conf.py