use long syntax for bind
This commit is contained in:
parent
bb37aa3be5
commit
3e8388e2de
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue