mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-20 13:28:20 +02:00
Use persistent volume for db in docker-compose (#60)
This commit is contained in:
parent
96e5568c65
commit
120befd511
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ services:
|
|||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
volumes:
|
||||
- postgres_dir:/var/lib/postgresql/data
|
||||
- ./createdb.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
|
||||
lnd_sqkserver:
|
||||
|
|
@ -53,3 +54,6 @@ volumes:
|
|||
# lnd_dir volume is needed for sharing tht tls certificate
|
||||
lnd_dir:
|
||||
driver: local
|
||||
|
||||
postgres_dir:
|
||||
driver: local
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue