sharat87 / httpbun

An HTTP server with APIs useful in testing HTTP clients. Inspired by httpbin, but isn't a clone.

Home Page:https://httpbun.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide an linux/arm64/v8 build

trajano opened this issue · comments

You can take a look here https://github.com/trajano/trajano-portfolio/blob/43549b78fad9fc94f98fffe94a7964c39f28b65e/.github/workflows/publish.yml#L74-L82

But basically if you add this platforms: linux/amd64,linux/arm64,linux/arm/v7 you'd provide good enough coverage for most environments.

Oh hey @trajano, thanks for opening this. I didn't prioritize this as I didn't need it, and was waiting to see if someone would ask, to justify prioritizing it.

This is all I need. I'll get this done this weekend or early next week.

This is now available. Thank you.

shot-2023-09-02-04-14-21

Thanks for your patience. It works on my pi trajano.net/httpbin/get

If you want to get it in swarm with traefik

  httpbin:
    image: sharat87/httpbun
    command: --path-prefix /httpbin
    networks:
      - traefik
    deploy:
      resources:
        reservations:
          memory: 128m
        limits:
          cpus: '0.5'
          memory: 128m
      labels:
        - traefik.enable=true
        - traefik.http.routers.httpbin.rule=PathPrefix(`/httpbin`)
        - traefik.http.routers.httpbin.entryPoints=https
        - traefik.http.services.httpbin.loadbalancer.server.port=80