From 9952c4cafeb63165d19d7a3f4036de1e541f4714 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Sat, 14 Oct 2023 23:10:32 +0200 Subject: [PATCH] Seafile: Restart --- ansible/plays/services/seafile/docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/plays/services/seafile/docker-compose.yml b/ansible/plays/services/seafile/docker-compose.yml index 098496c..fa3db5a 100644 --- a/ansible/plays/services/seafile/docker-compose.yml +++ b/ansible/plays/services/seafile/docker-compose.yml @@ -6,6 +6,7 @@ services: environment: - MYSQL_ROOT_PASSWORD={{ seafile.db.password | mandatory }} - MYSQL_LOG_CONSOLE=true + restart: unless-stopped volumes: - db_data:/var/lib/mysql networks: @@ -13,10 +14,12 @@ services: memcached: image: memcached:latest entrypoint: memcached -m 256 + restart: unless-stopped networks: - backend seafile: image: seafileltd/seafile-mc:latest + restart: unless-stopped volumes: - seafile_data:/shared - /dev/null:/var/log/nginx/access.log