Giter Site home page Giter Site logo

Comments (4)

tobybellwood avatar tobybellwood commented on August 24, 2024 3

Yup, sorry! - we're actively working on an update right now that builds arm-compatible images

from docker-haproxy.

tobybellwood avatar tobybellwood commented on August 24, 2024 3

We've actually just fixed this in the replacement docker-haproxy service (https://github.com/pygmystack/haproxy).

This won't be backported to the current amazeeio/pygmy (it's no longer able to be maintained in a future-compatible way) - so we suggest using github.com/fubarhouse/pygmy-go as a drop-in replacement (M1 compatible release to come this week)

from docker-haproxy.

duttonw avatar duttonw commented on August 24, 2024

@BrianGilbert , I've found work around

need to update to 0.8.0 and make multi architecture docker images based on pulling a differnt docker-gen version.
docker-gen-alpine-linux-amd64-0.8.0.tar.gz
docker-gen-alpine-linux-arm64-0.8.0.tar.gz

As a workaround, do these changes to this repo below, then run run docker-compose up --build

diff --git a/Dockerfile b/Dockerfile
index 6ff7da0..d1fccd9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,9 +2,10 @@ FROM haproxy:1.7-alpine
 RUN apk update && apk --no-cache add bash
-ENV DOCKER_GEN_VERSION 0.7.3
+ENV DOCKER_GEN_VERSION 0.8.0
-ADD https://github.com/jwilder/docker-gen/releases/download/$DOCKER_GEN_VERSION/docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz /tmp/docker-gen.tar.gz
+#ADD https://github.com/jwilder/docker-gen/releases/download/$DOCKER_GEN_VERSION/docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz /tmp/docker-gen.tar.gz
+ADD https://github.com/jwilder/docker-gen/releases/download/$DOCKER_GEN_VERSION/docker-gen-linux-arm64-$DOCKER_GEN_VERSION.tar.gz /tmp/docker-gen.tar.gz
 RUN tar -C /usr/local/bin -xvzf /tmp/docker-gen.tar.gz && \
chmod +x /usr/local/bin/docker-gen
diff --git a/docker-compose.yml b/docker-compose.yml
index ce7b2b5..7590297 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -8,4 +8,12 @@ services:
ports:
- 80:80
- 443:443
- network_mode: bridge
\ No newline at end of file
+ #network_mode: bridge
+ networks:
+ - amazeeio-network
+ - default
+
+networks:
+ amazeeio-network:
+ external: true

from docker-haproxy.

duttonw avatar duttonw commented on August 24, 2024

seems #9 is the closest to fixing this overall.

from docker-haproxy.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.