mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-16 14:21:11 +00:00
16 lines
670 B
YAML
16 lines
670 B
YAML
version: "2.0"
|
||
services:
|
||
pagermaid:
|
||
image: teampgm/pagermaid_pyro
|
||
restart: always
|
||
container_name: pagermaid
|
||
hostname: pagermaid
|
||
#ports: # 是否开启网页控制面板
|
||
#- "3333:3333"
|
||
volumes:
|
||
- ./:/pagermaid/workdir
|
||
environment:
|
||
- RUN_AS_ROOT=true # 是否以root权限运行pagermaid,true为是,false为否
|
||
- PUID=917 # 当 RUN_AS_ROOT=false时才生效,即以普通用户权限运行pagermaid,可以修改为你定义用户的UID
|
||
- PGID=917 # 当 RUN_AS_ROOT=false时才生效,即以普通用户权限运行pagermaid,可以修改为你定义用户的GID
|