0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

🐳 SMTP and LDAP test containers

This commit is contained in:
Mathieu Brunot 2021-02-01 02:19:57 +01:00 committed by Andrés Moya
parent 4991cae5ad
commit 56b10d669a
2 changed files with 44 additions and 0 deletions

View file

@ -6,6 +6,7 @@
- Add major refactor of internal pubsub/redis code; improves scalability and performance #640
- Add optional loki integration.
- Add emailcatcher and ldap test containers to devenv. #506
- Bounce & Complaint handling.
- Disable groups interactions when holding "Ctrl" key (deep selection)
- New action in context menu to "edit" some shapes (binded to key "Enter")

View file

@ -43,6 +43,28 @@ services:
- PENPOT_DATABASE_PASSWORD=penpot
- PENPOT_REDIS_URI=redis://redis/0
- EXTERNAL_UID=${CURRENT_USER_ID}
# STMP setup
- PENPOT_SMTP_ENABLED=true
- PENPOT_SMTP_DEFAULT_FROM=no-reply@example.com
- PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com
- PENPOT_SMTP_HOST=mailer
- PENPOT_SMTP_PORT=1025
- PENPOT_SMTP_USERNAME=
- PENPOT_SMTP_PASSWORD=
- PENPOT_SMTP_SSL=false
- PENPOT_SMTP_TLS=false
# LDAP setup
- PENPOT_LDAP_HOST=ldap
- PENPOT_LDAP_PORT=10389
- PENPOT_LDAP_SSL=false
- PENPOT_LDAP_STARTTLS=false
- PENPOT_LDAP_BASE_DN=ou=people,dc=planetexpress,dc=com
- PENPOT_LDAP_BIND_DN=cn=admin,dc=planetexpress,dc=com
- PENPOT_LDAP_BIND_PASSWORD=GoodNewsEveryone
- PENPOT_LDAP_USERNAME_ATTRIBUTE=uid
- PENPOT_LDAP_EMAIL_ATTRIBUTE=mail
- PENPOT_LDAP_FULLNAME_ATTRIBUTE=displayName
- PENPOT_LDAP_AVATAR_ATTRIBUTE=jpegPhoto
postgres:
image: postgres:13
@ -65,3 +87,24 @@ services:
hostname: "penpot-devenv-redis"
container_name: "penpot-devenv-redis"
restart: always
mailer:
image: sj26/mailcatcher:latest
hostname: mautic-mailer
container_name: mautic-mailer
restart: always
expose:
- '1025'
ports:
- "1080:1080"
ldap:
image: rroemhild/test-openldap:2.1
container_name: mautic-ldap
hostname: mautic-ldap
expose:
- '10389'
- '10636'
ports:
- "10389:10389"
- "10636:10636"