mirror of
https://github.com/wallabag/docker
synced 2025-12-13 17:56:31 +00:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
096ea7f79c | ||
|
|
2c1ec84dc7 | ||
|
|
488814d187 | ||
|
|
3808b524fc | ||
|
|
dd237ec16e | ||
|
|
84756ac1fd | ||
|
|
60ce6d2e4f | ||
|
|
b228deb919 | ||
|
|
52afa94c77 | ||
|
|
424642d3b9 |
@@ -13,7 +13,7 @@ FROM alpine:3.18
|
|||||||
|
|
||||||
COPY --from=builder /go/bin/envsubst /usr/bin/envsubst
|
COPY --from=builder /go/bin/envsubst /usr/bin/envsubst
|
||||||
|
|
||||||
ARG WALLABAG_VERSION=2.6.11
|
ARG WALLABAG_VERSION=2.6.13
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
@@ -32,6 +32,7 @@ RUN set -ex \
|
|||||||
php81-iconv \
|
php81-iconv \
|
||||||
php81-json \
|
php81-json \
|
||||||
php81-mbstring \
|
php81-mbstring \
|
||||||
|
php81-opcache \
|
||||||
php81-openssl \
|
php81-openssl \
|
||||||
php81-pecl-amqp \
|
php81-pecl-amqp \
|
||||||
php81-pecl-imagick \
|
php81-pecl-imagick \
|
||||||
@@ -83,6 +84,8 @@ ENV PATH="${PATH}:/var/www/wallabag/bin"
|
|||||||
# Set console entry path
|
# Set console entry path
|
||||||
WORKDIR /var/www/wallabag
|
WORKDIR /var/www/wallabag
|
||||||
|
|
||||||
|
HEALTHCHECK CMD curl --fail --silent --show-error --user-agent healthcheck http://localhost/api/info || exit 1
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["wallabag"]
|
CMD ["wallabag"]
|
||||||
|
|||||||
@@ -131,10 +131,6 @@ services:
|
|||||||
- "80"
|
- "80"
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/wallabag/images:/var/www/wallabag/web/assets/images
|
- /opt/wallabag/images:/var/www/wallabag/web/assets/images
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost/api/info"]
|
|
||||||
interval: 1m
|
|
||||||
timeout: 3s
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
|||||||
@@ -35,8 +35,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen [::]:80 ipv6only=off;
|
||||||
listen [::0]:80;
|
|
||||||
server_name _;
|
server_name _;
|
||||||
root /var/www/wallabag/web;
|
root /var/www/wallabag/web;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user