2021-05-01 16:48:32 +00:00
|
|
|
|
version: "2.0"
|
2020-02-19 15:31:39 +00:00
|
|
|
|
services:
|
|
|
|
|
pagermaid:
|
2021-04-17 12:17:56 +00:00
|
|
|
|
image: mrwangzhe/pagermaid_modify
|
2020-02-19 15:31:39 +00:00
|
|
|
|
restart: always
|
2021-05-01 16:48:32 +00:00
|
|
|
|
container_name: pagermaid
|
2021-05-07 15:18:06 +00:00
|
|
|
|
hostname: pagermaid
|
|
|
|
|
#ports: # 是否开启网页控制面板
|
2021-05-01 16:48:32 +00:00
|
|
|
|
#- "3333:3333"
|
2020-02-19 15:31:39 +00:00
|
|
|
|
volumes:
|
2021-05-01 16:48:32 +00:00
|
|
|
|
- ./:/pagermaid/workdir
|
|
|
|
|
environment:
|
2021-05-07 15:18:06 +00:00
|
|
|
|
- RUN_AS_ROOT=true # 是否以root权限运行pagermaid,true为是
|
|
|
|
|
- PUID=917 # 当 RUN_AS_ROOT=false 才生效,即以普通用户权限运行pagermaid
|
|
|
|
|
- PGID=917 # 当 RUN_AS_ROOT=false 才生效,即以普通用户权限运行pagermaid
|