Compare commits
9 Commits
0.2.0+v2.1
...
main
Author | SHA1 | Date |
---|---|---|
3wc | 93f240b959 | |
trav | e81374b8b7 | |
trav | 134083eb13 | |
trav | baba7e2a0e | |
3wc | 30e9ade4dc | |
trav | 5cf17cb417 | |
trav | 0a56c49916 | |
trav | 6dcbd3a0b8 | |
3wc | 2fe463799b |
|
@ -19,6 +19,9 @@ SMTP_PASSWORD=password
|
|||
SMTP_USE_SSL=1
|
||||
# to disable SSL comment out line rather than changing to 0
|
||||
|
||||
# Whyyyy does this need to be set separately
|
||||
NOTIFICATIONS_EMAIL_ADDRESS=noreply@example.com
|
||||
|
||||
REPLY_HOSTNAME=loomio.example.com
|
||||
|
||||
# helper bot is the account which welcomes people to their groups.
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
5. `abra app deploy YOURAPPDOMAIN`
|
||||
6. This should be automated but you also need to run `abra app run loomio_some_domain app rake db:migrate`
|
||||
7. Open the configured domain in your browser to finish set-up
|
||||
8. Give yourself admin rights by running `User.last.update(is_admin: true)`
|
||||
|
||||
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
|
||||
|
|
13
compose.yml
13
compose.yml
|
@ -16,6 +16,7 @@ x-environment: &default-env
|
|||
SMTP_USERNAME: ${SMTP_USERNAME}
|
||||
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
||||
SMTP_USE_SSL: ${SMTP_USE_SSL}
|
||||
NOTIFICATIONS_EMAIL_ADDRESS: ${NOTIFICATIONS_EMAIL_ADDRESS}
|
||||
REPLY_HOSTNAME: ${REPLY_HOSTNAME}
|
||||
HELPER_BOT_EMAIL: ${HELPER_BOT_EMAIL}
|
||||
RAILS_ENV: ${RAILS_ENV}
|
||||
|
@ -33,7 +34,7 @@ x-environment: &default-env
|
|||
|
||||
services:
|
||||
app:
|
||||
image: loomio/loomio:v2.17.3
|
||||
image: loomio/loomio:v2.22.0
|
||||
configs:
|
||||
- source: entrypoint
|
||||
target: /entrypoint.sh
|
||||
|
@ -64,9 +65,9 @@ services:
|
|||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.0+v2.17.3"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.5.0+v2.22.0"
|
||||
worker:
|
||||
image: loomio/loomio:v2.17.3
|
||||
image: loomio/loomio:v2.22.0
|
||||
configs:
|
||||
- source: entrypoint
|
||||
target: /entrypoint.sh
|
||||
|
@ -88,7 +89,7 @@ services:
|
|||
- loomio_files:/loomio/public/files
|
||||
- loomio_plugins:/loomio/plugins/docker
|
||||
db:
|
||||
image: postgres:12.14
|
||||
image: postgres:12.17
|
||||
networks:
|
||||
- backend
|
||||
volumes:
|
||||
|
@ -119,12 +120,12 @@ services:
|
|||
environment:
|
||||
- REDIS_URL=redis://redis:6379
|
||||
cron:
|
||||
image: loomio/loomio:v2.17.3
|
||||
image: loomio/loomio:v2.22.0
|
||||
configs:
|
||||
- source: entrypoint
|
||||
target: /entrypoint.sh
|
||||
mode: 0555
|
||||
entrypoint: [ "/entrypoint.sh", "rake", "loomio:hourly_tasks" ]
|
||||
entrypoint: [ "/entrypoint.sh", "rake loomio:hourly_tasks" ]
|
||||
environment: *default-env
|
||||
secrets:
|
||||
- devise_secret
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
Loomio seems to have added a new setting, NOTIFICATIONS_EMAIL_ADDRESS, to
|
||||
define what address transactional emails should come from.
|
||||
|
||||
If you don't set it, it will default to notifications@$MAIL_DOMAIN, which is
|
||||
unlikely to work in many cases.
|
||||
|
||||
If you find that transactional emails aren't working, try setting
|
||||
NOTIFICATIONS_EMAIL_ADDRESS to the same value as SUPPORT_EMAIL,
|
||||
HELPER_BOT_EMAIL, or SMTP_USERNAME.
|
Loading…
Reference in New Issue