mirror of
https://github.com/wallabag/docker
synced 2025-12-13 09:46:27 +00:00
Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
480d3833bc | ||
|
|
42981284a6 | ||
|
|
91a399d3bb | ||
|
|
ccb4b25562 | ||
|
|
c8b95ac15b | ||
|
|
25a2e3de71 | ||
|
|
b522c24645 | ||
|
|
2ed6cbca1c | ||
|
|
9dd6c5b52b | ||
|
|
0e11114336 | ||
|
|
6379d9b90f | ||
|
|
e1fafcc31f | ||
|
|
7d2f4919c6 | ||
|
|
096ea7f79c | ||
|
|
2c1ec84dc7 | ||
|
|
488814d187 | ||
|
|
3808b524fc | ||
|
|
dd237ec16e | ||
|
|
84756ac1fd | ||
|
|
60ce6d2e4f | ||
|
|
424642d3b9 | ||
|
|
923dffae55 |
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -24,12 +24,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: 3.11
|
||||
|
||||
|
||||
11
Dockerfile
11
Dockerfile
@@ -1,4 +1,4 @@
|
||||
ARG COMPOSER_VERSION=2.5.8
|
||||
ARG COMPOSER_VERSION=2.8.10
|
||||
|
||||
FROM composer:$COMPOSER_VERSION as composer
|
||||
|
||||
@@ -7,13 +7,13 @@ FROM golang:alpine as builder
|
||||
# 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
|
||||
# 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
|
||||
|
||||
ARG WALLABAG_VERSION=2.6.12
|
||||
ARG WALLABAG_VERSION=2.6.14
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add --no-cache \
|
||||
@@ -32,6 +32,7 @@ RUN set -ex \
|
||||
php81-iconv \
|
||||
php81-json \
|
||||
php81-mbstring \
|
||||
php81-opcache \
|
||||
php81-openssl \
|
||||
php81-pecl-amqp \
|
||||
php81-pecl-imagick \
|
||||
@@ -83,6 +84,8 @@ ENV PATH="${PATH}:/var/www/wallabag/bin"
|
||||
# Set console entry path
|
||||
WORKDIR /var/www/wallabag
|
||||
|
||||
HEALTHCHECK CMD curl --fail --silent --show-error --user-agent healthcheck http://localhost/api/info || exit 1
|
||||
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["wallabag"]
|
||||
|
||||
@@ -131,10 +131,6 @@ services:
|
||||
- "80"
|
||||
volumes:
|
||||
- /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:
|
||||
- db
|
||||
- redis
|
||||
@@ -146,7 +142,7 @@ services:
|
||||
volumes:
|
||||
- /opt/wallabag/data:/var/lib/mysql
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
|
||||
test: ["CMD", "/usr/local/bin/healthcheck.sh", "--innodb_initialized"]
|
||||
interval: 20s
|
||||
timeout: 3s
|
||||
redis:
|
||||
|
||||
@@ -35,8 +35,7 @@ http {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::0]:80;
|
||||
listen [::]:80 ipv6only=off;
|
||||
server_name _;
|
||||
root /var/www/wallabag/web;
|
||||
|
||||
|
||||
@@ -36,11 +36,11 @@ parameters:
|
||||
rss_limit: 50
|
||||
|
||||
# RabbitMQ processing
|
||||
rabbitmq_host: localhost
|
||||
rabbitmq_port: 5672
|
||||
rabbitmq_user: guest
|
||||
rabbitmq_password: guest
|
||||
rabbitmq_prefetch_count: 10
|
||||
rabbitmq_host: ${SYMFONY__ENV__RABBITMQ_HOST:-localhost}
|
||||
rabbitmq_port: ${SYMFONY__ENV__RABBITMQ_PORT:-5672}
|
||||
rabbitmq_user: ${SYMFONY__ENV__RABBITMQ_USER:-guest}
|
||||
rabbitmq_password: ${SYMFONY__ENV__RABBITMQ_PASSWORD:-guest}
|
||||
rabbitmq_prefetch_count: ${SYMFONY__ENV__RABBITMQ_PREFETCH_COUNT:-10}
|
||||
|
||||
# Redis processing
|
||||
redis_scheme: ${SYMFONY__ENV__REDIS_SCHEME:-tcp}
|
||||
|
||||
Reference in New Issue
Block a user