Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ An example [docker-compose](https://docs.docker.com/compose/) file can be seen b

```
version: '3'
networks:
wallabag:
external: false
services:
wallabag:
image: wallabag/wallabag
Expand All @@ -133,6 +136,9 @@ services:
- "80"
volumes:
- /opt/wallabag/images:/var/www/wallabag/web/assets/images
restart: always
networks:
- wallabag
healthcheck:
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost"]
interval: 1m
Expand All @@ -146,12 +152,18 @@ services:
- MYSQL_ROOT_PASSWORD=wallaroot
volumes:
- /opt/wallabag/data:/var/lib/mysql
restart: always
networks:
- wallabag
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 20s
timeout: 3s
redis:
image: redis:alpine
restart: always
networks:
- wallabag
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 20s
Expand Down