容器化
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
kvstore:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
APT_MIRROR: ${APT_MIRROR:-mirrors.aliyun.com}
|
||||
image: kvstore:single
|
||||
container_name: kvstore
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- seccomp=unconfined
|
||||
ports:
|
||||
- "8888:8888"
|
||||
volumes:
|
||||
- ./config/config.xml:/app/config/config.xml:ro
|
||||
- ./data:/app/data
|
||||
Reference in New Issue
Block a user