Moving 'murmur' database directory from volume to bind.

This commit is contained in:
Alexey Skobkin 2019-12-12 01:13:48 +03:00
parent 6d4a7fda85
commit c1af1f3323
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
3 changed files with 3 additions and 4 deletions

1
murmur/.gitignore vendored
View File

@ -1 +1,2 @@
config/murmur.ini
db/*.sqlite

0
murmur/db/.gitkeep Normal file
View File

View File

@ -9,7 +9,7 @@ services:
- "64738:64738/udp"
volumes:
# Database location
- "murmur-data:/data"
- "./db:/data"
# SSL cert and key
- "/etc/ssl/${MURMUR_HOSTNAME}:/ssl:ro"
# murmur.ini location
@ -22,6 +22,4 @@ services:
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"
volumes:
murmur-data:
# TODO: try to integrate with neilpang/acme.sh