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} user: ${DOCKER_USER}
volumes: volumes:
- ./pgdata:/var/lib/postgresql/data:z - type: bind
- ./config/setup_db.psql:/docker-entrypoint-initdb.d/setup_db.sql source: ./pgdata
target: /var/lib/postgresql/data
- type: bind
source: ./config/setup_db.psql
target: /docker-entrypoint-initdb.d/setup_db.sql
akkoma: akkoma:
image: akkoma/akkoma:next image: akkoma/akkoma:next