mirror of
https://github.com/wallabag/docker.git
synced 2026-02-26 19:57:54 +01:00
Compare commits
8 Commits
2.6.12
...
2bc3b923a2
| Author | SHA1 | Date | |
|---|---|---|---|
| 2bc3b923a2 | |||
| 488814d187 | |||
| 3808b524fc | |||
| dd237ec16e | |||
| 84756ac1fd | |||
| 60ce6d2e4f | |||
| 424642d3b9 | |||
| 923dffae55 |
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user