use long syntax for bind

This commit is contained in:
Floatingghost 2024-06-04 10:23:06 +01:00
parent bb37aa3be5
commit 3e8388e2de

View file

@ -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