[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