Closed BrianGilbert closed 1 year ago
Yup, sorry! - we're actively working on an update right now that builds arm-compatible images
@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
seems https://github.com/amazeeio/docker-haproxy/pull/9 is the closest to fixing this overall.
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)
When I run pygmy up I get the following, other caontainers work but amazeeio-haptroxy just continuously in a restarting loop