PagerMaid-Modify/docker-compose.gen.yml
nevinen c59566d458
docker supports custom installation of pypi dependencies (#79)
 docker 支持自定义安装 pypi 依赖 (#79)

* 有些插件额外需要一些未安装的依赖,支持用户自己定义`requirements2.txt`,创建容器时即自动安装好,这样更新镜像或重建容器不影响这些插件的使用。
2021-05-28 20:31:00 +08:00

16 lines
674 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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