PagerMaid-Pyro/docker-compose.gen.yml

16 lines
670 B
YAML
Raw Normal View History

2022-05-25 04:19:25 +00:00
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权限运行pagermaidtrue为是false为否
- PUID=917 # 当 RUN_AS_ROOT=false时才生效即以普通用户权限运行pagermaid可以修改为你定义用户的UID
- PGID=917 # 当 RUN_AS_ROOT=false时才生效即以普通用户权限运行pagermaid可以修改为你定义用户的GID