PagerMaid-Modify/docker-compose.gen.yml

16 lines
674 B
YAML
Raw Normal View History

version: "2.0"
services:
pagermaid:
image: mrwangzhe/pagermaid_modify
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