添加卷映射,超级棒,文件共享更简单!
This commit is contained in:
parent
10fabc68eb
commit
9d2579eb1d
@ -7,6 +7,7 @@ services:
|
||||
ports:
|
||||
- "18000:18000"
|
||||
volumes:
|
||||
- ./:/app
|
||||
- ./db.sqlite3:/app/db.sqlite3
|
||||
logging:
|
||||
driver: "json-file"
|
||||
@ -20,6 +21,7 @@ services:
|
||||
container_name: init
|
||||
command: sh init.sh init_data
|
||||
volumes:
|
||||
- ./:/app
|
||||
- .db.sqlite3:/app/.db.sqlite3
|
||||
logging:
|
||||
driver: "json-file"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user