Skip to content

Commit

Permalink
Merge pull request #398 from neilbags/patch-1
Browse files Browse the repository at this point in the history
Add restart: unless-stopped to example docker-compose
  • Loading branch information
Kdecherf committed Mar 10, 2024
2 parents f59fb4b + 7c9d8a3 commit 03d1e3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -112,6 +112,7 @@ version: '3'
services:
wallabag:
image: wallabag/wallabag
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
Expand Down Expand Up @@ -139,6 +140,7 @@ services:
- redis
db:
image: mariadb
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
volumes:
Expand All @@ -149,6 +151,7 @@ services:
timeout: 3s
redis:
image: redis:alpine
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 20s
Expand Down

0 comments on commit 03d1e3a

Please sign in to comment.