Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Update dockerfiles for arm

Andras Bacsai321fb019eb54
diff --git a/data/haproxy-http.Dockerfile b/data/haproxy-http.Dockerfile
index 089ae0f965..de52466283 100644
--- a/data/haproxy-http.Dockerfile
+++ b/data/haproxy-http.Dockerfile
@@ -1,6 +1,6 @@
FROM haproxytech/haproxy-alpine:2.5
RUN mkdir -p /usr/local/etc/haproxy/ssl /usr/local/etc/haproxy/maps /usr/local/etc/haproxy/spoe
-COPY data/haproxy/haproxy.cfg-http.template /usr/local/etc/haproxy/haproxy.cfg
-COPY data/haproxy/dataplaneapi.hcl /usr/local/etc/haproxy/dataplaneapi.hcl
-COPY data/haproxy/ssl/default.pem /usr/local/etc/haproxy/ssl/default.pem
\ No newline at end of file
+COPY haproxy/haproxy.cfg-http.template /usr/local/etc/haproxy/haproxy.cfg
+COPY haproxy/dataplaneapi.hcl /usr/local/etc/haproxy/dataplaneapi.hcl
+COPY haproxy/ssl/default.pem /usr/local/etc/haproxy/ssl/default.pem
\ No newline at end of file
diff --git a/data/haproxy-tcp.Dockerfile b/data/haproxy-tcp.Dockerfile
index bddcbe5410..9b9639777e 100644
--- a/data/haproxy-tcp.Dockerfile
+++ b/data/haproxy-tcp.Dockerfile
@@ -1,6 +1,6 @@
FROM haproxytech/haproxy-alpine:2.5
RUN mkdir -p /usr/local/etc/haproxy/ssl /usr/local/etc/haproxy/maps /usr/local/etc/haproxy/spoe
-COPY data/haproxy/haproxy.cfg-tcp.template /usr/local/etc/haproxy/haproxy.cfg
-COPY data/haproxy/dataplaneapi.hcl /usr/local/etc/haproxy/dataplaneapi.hcl
-COPY data/haproxy/ssl/default.pem /usr/local/etc/haproxy/ssl/default.pem
\ No newline at end of file
+COPY haproxy/haproxy.cfg-tcp.template /usr/local/etc/haproxy/haproxy.cfg
+COPY haproxy/dataplaneapi.hcl /usr/local/etc/haproxy/dataplaneapi.hcl
+COPY haproxy/ssl/default.pem /usr/local/etc/haproxy/ssl/default.pem
\ No newline at end of file
diff --git a/data/haproxy.Dockerfile b/data/haproxy.Dockerfile
index 45e2d9d717..3ab520a655 100644
--- a/data/haproxy.Dockerfile
+++ b/data/haproxy.Dockerfile
@@ -1,6 +1,6 @@
FROM haproxytech/haproxy-alpine:2.5
RUN mkdir -p /usr/local/etc/haproxy/ssl /usr/local/etc/haproxy/maps /usr/local/etc/haproxy/spoe
-COPY data/haproxy/haproxy.cfg.template /usr/local/etc/haproxy/haproxy.cfg
-COPY data/haproxy/dataplaneapi.hcl /usr/local/etc/haproxy/dataplaneapi.hcl
-COPY data/haproxy/ssl/default.pem /usr/local/etc/haproxy/ssl/default.pem
\ No newline at end of file
+COPY haproxy/haproxy.cfg.template /usr/local/etc/haproxy/haproxy.cfg
+COPY haproxy/dataplaneapi.hcl /usr/local/etc/haproxy/dataplaneapi.hcl
+COPY haproxy/ssl/default.pem /usr/local/etc/haproxy/ssl/default.pem
\ No newline at end of file
diff --git a/data/haproxy/haproxy.cfg-http.template b/data/haproxy/haproxy.cfg-http.template
index 72fdece7a4..f819e9be70 100644
--- a/data/haproxy/haproxy.cfg-http.template
+++ b/data/haproxy/haproxy.cfg-http.template
@@ -4,10 +4,10 @@ global
defaults
mode http
log global
- timeout http-request 60s
- timeout connect 10s
- timeout client 60s
- timeout server 60s
+ timeout http-request 120s
+ timeout connect 20s
+ timeout client 120s
+ timeout server 120s
frontend "${APP}"
mode http
diff --git a/data/haproxy/haproxy.cfg.template b/data/haproxy/haproxy.cfg.template
index c39cb7878c..35cb8a74d4 100644
--- a/data/haproxy/haproxy.cfg.template
+++ b/data/haproxy/haproxy.cfg.template
@@ -5,10 +5,10 @@ global
defaults
mode http
log global
- timeout http-request 60s
- timeout connect 10s
- timeout client 60s
- timeout server 60s
+ timeout http-request 120s
+ timeout connect 20s
+ timeout client 120s
+ timeout server 120s
userlist haproxy-dataplaneapi
user admin insecure-password "${HAPROXY_PASSWORD}"