mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-22 03:19:17 +00:00
xtaodada
cff69d3572
All checks were successful
Docker Dev Build / docker build and publish (push) Successful in 7m23s
持久化不再持久整个目录,只持久化 data 和 plugins 目录 如果原持久化路径为 /root ,生成了 /root/workdir 目录,那么现在输入的路径为 /root/workdir
18 lines
462 B
YAML
18 lines
462 B
YAML
version: "2.0"
|
|
services:
|
|
pagermaid:
|
|
image: teampgm/pagermaid_pyro:latest
|
|
restart: always
|
|
container_name: pagermaid
|
|
hostname: pagermaid
|
|
# ports: # 是否开启网页控制面板
|
|
# - "3333:3333"
|
|
volumes:
|
|
- ./data:/pagermaid/workdir/data
|
|
- ./plugins:/pagermaid/workdir/plugins
|
|
environment:
|
|
# - WEB_ENABLE=true
|
|
# - WEB_SECRET_KEY=控制台密码
|
|
- WEB_HOST=0.0.0.0
|
|
# - WEB_PORT=3333
|