添加docker支持

This commit is contained in:
2020-12-01 11:03:49 +08:00
parent fbc0c1e4f1
commit 1158907a6f
6 changed files with 103 additions and 7 deletions

20
docker-compose.yaml Normal file
View File

@@ -0,0 +1,20 @@
version: "3.3"
services:
server:
build: .
image: privacy
network_mode: bridge
volumes:
- ./database:/opt/privacy/database
- ./source:/opt/privacy/source
environment:
- qq=true
- jd=true
- sf=false
- wb=false
- host=0.0.0.0
- port=80
- mask=true
ports:
- 80:80