feat: add miyouqian submodule and compose
This commit is contained in:
1 parent
1c12f71a87
commit
b9453edde9
2 files changed
+38
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
[submodule "miyouqian/upstream"]
|
||||||
|
path = miyouqian/upstream
|
||||||
|
url = https://github.com/Marchen-orz/MiyoQian.git
|
||||||
|
branch = master
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
name: miyouqian
|
||||||
|
services:
|
||||||
|
miyouqian:
|
||||||
|
build:
|
||||||
|
context: ./upstream
|
||||||
|
dockerfile: docker/Dockerfile
|
||||||
|
container_name: miyouqian
|
||||||
|
volumes:
|
||||||
|
- /srv/data/miyouqian:/app/state
|
||||||
|
environment:
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "0.5"
|
||||||
|
memory: 256M
|
||||||
|
reservations:
|
||||||
|
cpus: "0.1"
|
||||||
|
memory: 64M
|
||||||
|
init: true
|
||||||
|
read_only: true
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
tmpfs:
|
||||||
|
- /tmp
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
Reference in new issue
Block a user