mirror of
https://github.com/wallabag/docker.git
synced 2026-03-01 13:17:34 +01:00
Compare commits
4 Commits
2.6.13
...
007e978c55
| Author | SHA1 | Date | |
|---|---|---|---|
| 007e978c55 | |||
| e1fafcc31f | |||
| 7d2f4919c6 | |||
| 923dffae55 |
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user