Add configurable path to database and docker-compose sample

This commit is contained in:
2022-05-28 19:28:18 +09:30
parent 49288a5b8b
commit 37e3a3fe7c
4 changed files with 31 additions and 6 deletions

12
docker-compose.yml-sample Normal file
View File

@@ -0,0 +1,12 @@
---
version: "2.1"
services:
linkwallet:
image: tardisx/linkwallet:latest
container_name: linkwallet
command: /app/linkwallet -db-path=/data/linkwallet.db
volumes:
- /home/username/.linkwallet:/data
ports:
- 8109:8080
restart: unless-stopped