update Docker configuration

This commit is contained in:
shincurry
2020-02-18 05:02:20 +08:00
parent 873edcd40c
commit ac77fb3c5c
4 changed files with 29 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
version: '3'
services:
mango:
container_name: mango
build:
context: .
dockerfile: ./Dockerfile
expose:
- 9000
ports:
- 9000:9000
volumes:
- library:/root/mango/library
- config:/root/.config/mango
volumes:
library:
config: