From 3e8388e2de523beb313b7f8b083b4d1c892e5a0b Mon Sep 17 00:00:00 2001 From: Floatingghost Date: Tue, 4 Jun 2024 10:23:06 +0100 Subject: [PATCH] use long syntax for bind --- docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 54faa7d56..a396f421c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,8 +18,12 @@ services: } user: ${DOCKER_USER} volumes: - - ./pgdata:/var/lib/postgresql/data:z - - ./config/setup_db.psql:/docker-entrypoint-initdb.d/setup_db.sql + - type: bind + source: ./pgdata + target: /var/lib/postgresql/data + - type: bind + source: ./config/setup_db.psql + target: /docker-entrypoint-initdb.d/setup_db.sql akkoma: image: akkoma/akkoma:next