首页 > 其他分享 >penpon邮箱配置

penpon邮箱配置

时间:2023-11-25 15:56:23浏览次数:45  
标签:penpot PENPOT enable redis 配置 SMTP 邮箱 penpon networks

[root@usdp4 penpon]# cat docker-compose.yaml|grep  -v  '#'
---
version: "3.5"

networks:
  penpot:

volumes:
  penpot_postgres_v15:
  penpot_assets:

services:


  penpot-frontend:
    image: "penpotapp/frontend:latest"
    restart: always
    ports:
      - 9001:80

    volumes:
      - penpot_assets:/opt/data/assets

    depends_on:
      - penpot-backend
      - penpot-exporter

    networks:
      - penpot

    labels:
      - "traefik.enable=true"






    environment:

      - PENPOT_FLAGS=enableble-demo-warning enable-registration enable-smtp enable-log-emails enable-backend-api-docsenable-insecure-registration enable-log-invitation-tokens disable-secure-session-cookies

  penpot-backend:
    image: "penpotapp/backend:latest"
    restart: always

    volumes:
      - penpot_assets:/opt/data/assets

    depends_on:
      - penpot-postgres
      - penpot-redis

    networks:
      - penpot


    environment:


      - PENPOT_FLAGS=enableble-demo-warning enable-registration enable-smtp enable-log-emails enable-backend-api-docsenable-insecure-registration enable-log-invitation-tokens disable-secure-session-cookies






      - PENPOT_PUBLIC_URI=http://10.33.22.2:9001


      - PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
      - PENPOT_DATABASE_USERNAME=penpot
      - PENPOT_DATABASE_PASSWORD=penpot


      - PENPOT_REDIS_URI=redis://penpot-redis/0


      - PENPOT_ASSETS_STORAGE_BACKEND=assets-fs
      - PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets




      - PENPOT_TELEMETRY_ENABLED=true


      - [email protected]
      - [email protected]
      - PENPOT_SMTP_HOST=smtp.qiye.aliyun.com
      - PENPOT_SMTP_PORT=465
      - [email protected]
      - PENPOT_SMTP_PASSWORD=33kEKmcORxxFh7UM
      - PENPOT_SMTP_TLS=false
      - PENPOT_SMTP_SSL=true

  penpot-exporter:
    image: "penpotapp/exporter:latest"
    restart: always
    networks:
      - penpot

    environment:
      - PENPOT_PUBLIC_URI=http://penpot-frontend

      - PENPOT_REDIS_URI=redis://penpot-redis/0

  penpot-postgres:
    image: "postgres:15"
    restart: always
    stop_signal: SIGINT

    volumes:
      - penpot_postgres_v15:/var/lib/postgresql/data

    networks:
      - penpot

    environment:
      - POSTGRES_INITDB_ARGS=--data-checksums
      - POSTGRES_DB=penpot
      - POSTGRES_USER=penpot
      - POSTGRES_PASSWORD=penpot
    ports:
      - "5432:5432"
  penpot-redis:
    image: redis:7
    restart: always
    networks:
      - penpot


  penpot-mailcatch:
    image: sj26/mailcatcher:latest
    restart: always
    expose:
      - '1025'
    ports:
      - "1080:1080"
    networks:
      - penpot




[root@usdp4 penpon]# cat docker-compose.yaml|grep  -v  '#'
---
version: "3.5"

networks:
  penpot:

volumes:
  penpot_postgres_v15:
  penpot_assets:

services:


  penpot-frontend:
    image: "penpotapp/frontend:latest"
    restart: always
    ports:
      - 9001:80

    volumes:
      - penpot_assets:/opt/data/assets

    depends_on:
      - penpot-backend
      - penpot-exporter

    networks:
      - penpot

    labels:
      - "traefik.enable=true"






    environment:

      - PENPOT_FLAGS=enableble-demo-warning enable-registration enable-smtp enable-log-emails enable-backend-api-docsenable-insecure-registration enable-log-invitation-tokens disable-secure-session-cookies

  penpot-backend:
    image: "penpotapp/backend:latest"
    restart: always

    volumes:
      - penpot_assets:/opt/data/assets

    depends_on:
      - penpot-postgres
      - penpot-redis

    networks:
      - penpot


    environment:


      - PENPOT_FLAGS=enableble-demo-warning enable-registration enable-smtp enable-log-emails enable-backend-api-docsenable-insecure-registration enable-log-invitation-tokens disable-secure-session-cookies






      - PENPOT_PUBLIC_URI=http://10.33.22.2:9001


      - PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
      - PENPOT_DATABASE_USERNAME=penpot
      - PENPOT_DATABASE_PASSWORD=penpot


      - PENPOT_REDIS_URI=redis://penpot-redis/0


      - PENPOT_ASSETS_STORAGE_BACKEND=assets-fs
      - PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets




      - PENPOT_TELEMETRY_ENABLED=true


      - [email protected]
      - [email protected]
      - PENPOT_SMTP_HOST=smtp.qiye.aliyun.com
      - PENPOT_SMTP_PORT=465
      - [email protected]
      - PENPOT_SMTP_PASSWORD=33kEKmcORxxFh7UM
      - PENPOT_SMTP_TLS=false
      - PENPOT_SMTP_SSL=true

  penpot-exporter:
    image: "penpotapp/exporter:latest"
    restart: always
    networks:
      - penpot

    environment:
      - PENPOT_PUBLIC_URI=http://penpot-frontend

      - PENPOT_REDIS_URI=redis://penpot-redis/0

  penpot-postgres:
    image: "postgres:15"
    restart: always
    stop_signal: SIGINT

    volumes:
      - penpot_postgres_v15:/var/lib/postgresql/data

    networks:
      - penpot

    environment:
      - POSTGRES_INITDB_ARGS=--data-checksums
      - POSTGRES_DB=penpot
      - POSTGRES_USER=penpot
      - POSTGRES_PASSWORD=penpot
    ports:
      - "5432:5432"
  penpot-redis:
    image: redis:7
    restart: always
    networks:
      - penpot


  penpot-mailcatch:
    image: sj26/mailcatcher:latest
    restart: always
    expose:
      - '1025'
    ports:
      - "1080:1080"
    networks:
      - penpot

其中邮件注册配置如下;

- [email protected]
- [email protected]
- PENPOT_SMTP_HOST=smtp.qq.com
- PENPOT_SMTP_PORT=465
- [email protected]
- PENPOT_SMTP_PASSWORD=zroirxwembyahhfb
- PENPOT_SMTP_TLS=false
- PENPOT_SMTP_SSL=true 

 

标签:penpot,PENPOT,enable,redis,配置,SMTP,邮箱,penpon,networks
From: https://www.cnblogs.com/vzhangxk/p/17855594.html

相关文章

  • [CentOS] Samba的安装与配置
    [CentOS]Samba的安装与配置参考链接:CentOS7中Samba文件共享搭建链接中为Win7系统,本文补充了Win10的映射步骤。1.安装Sambayuminstall-ysamba2.关闭selinux和防火墙setenforce0systemctlstopfirewalldsystemctldisablefirewalld3.配置Samba配置文件cp/et......
  • 新手VSCode配置C++20
    最近买了本C++20的书,想要自己配置下在VScode的环境例子代码:#include<iostream>#include<format>intmain(){std::cout<<std::format("Hello,world!{0}",123)<<std::endl;//输出:Hello,world!123std::stringstr=std::format("......
  • TVBOX下载配置及本地包使用教程
    本文以电视上使用为准。【TVBOX软件下载】https://qiqi2020.lanzouq.com/b09svqv1cTVBOX有各种改版,这里推荐下载影视仓_5.0.13.apk,因为它支持“多仓”:【软件安装】打开电视上的“当贝助手”,用它来上传软件安装包,其它可以传文件到电视的软件也可以。选择文件快传:电脑浏览......
  • 聚合工程的微服务之父pom配置
    1、属性配置<!--属性配置--><properties><!--关掉单元测试,否则在打包的时候会执行单元测试--><skipTests>true</skipTests><!--项目构建时源码的编码方式--><project.build.sourceEncoding>UTF-8</project.build.sou......
  • Java 反射+递归 实现数据聚合发布的配置化
    大致是GraphQL的思路分开配置接口数据结构和数据实体的元数据支持列表查询,支持多层级的数据聚合参数选叶子节点就行,后续可以把参数用JS实现一个选择树状结构的UI,生成出查询字符串来,或者按照字段分配权限给租户异常处理的不太好,有待继续调试不支持数据权限,只支持根据聚合根向......
  • 【Django基础】Mysql数据库连接配置
    Django支持MySQL5.7及以上版本。Django的inspectdb功能使用information_schema数据库,其中包含所有数据库架构的详细数据。Django希望数据库支持Unicode(UTF-8编码),并将执行事务和引用完整性的任务交给它。django连接MySQL数据库,需要安装第三方数据库mysqlclientpip......
  • Node.js安装及环境配置
    一.安装Node.js步骤1、下载对应你系统的Node.js版本:https://nodejs.org/zh-cn/2、选安装目录进行安装3、环境配置4、测试二、前期准备1、Node.js简介简单的说Node.js就是运行在服务端的JavaScript。Node.js是一个基于ChromeV8引擎的JavaScript运行环境。Node.js使用......
  • 【OneTBB】MacOS&Linux环境下配置OneTBB库
    参考博客MacOShttps://macappstore.org/tbb/Linuxhttps://blog.csdn.net/Twilightzr/article/details/126533557 代码仓库https://github.com/oneapi-src/oneTBB 安装展示MacOS命令行输入1brewinstalltbbViewCode 截图展示检查是否成功安装好......
  • nginx 配置 采用二级跳转方式搭建 nginx+iis(aspx)
    #采用二级跳转方式nginx+iis(aspx)upstreamnginx.alayun.vip{least_conn;serverlocalhost:6666max_fails=30fail_timeout=10s;serverlocalhost:7777max_fails=30fail_timeout=10s;serverlocalhost:8888max_fails=30fail_timeout=1......
  • ros DDS中Qos的配置
    History:Keeplast:只缓存最新的N个数据Keepall:缓存所有数据,受限于DDS底层资源限制Depth:Queuesize:当History设置为keeplast时有效Reliability:Besteffort:尽力传送数据,网络不稳定时会丢弃一些数据Reliable:确保数据被传到,可能会重传多次Durabili......