From aeca5565993297e3697a81fca4d496e27b01bd9b Mon Sep 17 00:00:00 2001 From: Evening Date: Mon, 8 Jan 2024 13:08:12 +0800 Subject: [PATCH] Mount backups to host --- src/label-studio/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/label-studio/docker-compose.yml b/src/label-studio/docker-compose.yml index 4a6d909f..9340fb8b 100644 --- a/src/label-studio/docker-compose.yml +++ b/src/label-studio/docker-compose.yml @@ -67,6 +67,7 @@ services: - POSTGRES_HOST_AUTH_METHOD=trust volumes: - ${POSTGRES_DATA_DIR:-./postgres-data}:/var/lib/postgresql/data + - ${POSTGRES_DATA_DIR:-./postgres-backups}:/var/lib/postgresql/backups - ./deploy/pgsql/certs:/var/lib/postgresql/certs:ro networks: - label-studio