变更目录结构
This commit is contained in:
15
Test/Docker/beancount-gs/docker-compose.yml
Normal file
15
Test/Docker/beancount-gs/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
app:
|
||||
container_name: beancount-gs
|
||||
image: xdbin/beancount-gs:latest
|
||||
ports:
|
||||
- "10000:80"
|
||||
# volumes 挂载目录会导 /app/public/icons 中的图标被覆盖,这里将默认图标在挂载后重新拷贝图标
|
||||
command: >
|
||||
sh -c "cp -rn /app/public/default_icons/* /app/public/icons && ./beancount-gs -p 80"
|
||||
volumes:
|
||||
- "${dataPath:-/data/beancount}:${dataPath:-/data/beancount}"
|
||||
- "${dataPath:-/data/beancount}/icons:/app/public/icons"
|
||||
- "${dataPath:-/data/beancount}/config:/app/config"
|
||||
- "${dataPath:-/data/beancount}/bak:/app/bak"
|
||||
Reference in New Issue
Block a user