Compare commits

..

4 Commits

Author SHA1 Message Date
007e978c55 Update base image to Alpine 3.19
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2025-07-17 17:22:11 +02:00
e1fafcc31f Update envsubst to v1.4.3
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2025-07-17 17:21:44 +02:00
7d2f4919c6 Merge pull request #426 from boraozgen/readme-update
Update example compose file mariadb healthcheck command
2025-06-05 09:01:48 +02:00
923dffae55 Update example compose file mariadb healthcheck command 2024-11-12 09:22:30 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -7,9 +7,9 @@ FROM golang:alpine as builder
# envsubst from gettext can not replace env vars with default values # envsubst from gettext can not replace env vars with default values
# this package is not available for ARM32 and we have to build it from source code # this package is not available for ARM32 and we have to build it from source code
# flag -ldflags "-s -w" produces a smaller executable # flag -ldflags "-s -w" produces a smaller executable
RUN go install -ldflags "-s -w" -v github.com/a8m/envsubst/cmd/envsubst@v1.3.0 RUN go install -ldflags "-s -w" -v github.com/a8m/envsubst/cmd/envsubst@v1.4.3
FROM alpine:3.18 FROM alpine:3.19
COPY --from=builder /go/bin/envsubst /usr/bin/envsubst COPY --from=builder /go/bin/envsubst /usr/bin/envsubst

View File

@ -142,7 +142,7 @@ services:
volumes: volumes:
- /opt/wallabag/data:/var/lib/mysql - /opt/wallabag/data:/var/lib/mysql
healthcheck: healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"] test: ["CMD", "/usr/local/bin/healthcheck.sh", "--innodb_initialized"]
interval: 20s interval: 20s
timeout: 3s timeout: 3s
redis: redis: