Ajout de paramètres docker_discourse_smtp_open_timeout et docker_discourse_smtp_read_timeout
This commit is contained in:
parent
77929cfb12
commit
0bded7c301
3 changed files with 13 additions and 1 deletions
|
@ -59,9 +59,16 @@ docker_discourse_smtp_auth: plain
|
|||
|
||||
|
||||
|
||||
## Ajout d'un autre utilisateur admin
|
||||
|
||||
```bash
|
||||
docker compose exec -t -w /opt/bitnami/discourse --env RAILS_ENV=production discourse bundle exec rake admin:create
|
||||
```
|
||||
|
||||
## Ajout d'un plugin
|
||||
|
||||
Exemple ici avec le plugin ldap-auth :
|
||||
|
||||
```bash
|
||||
docker compose exec -t -w /opt/bitnami/discourse --env RAILS_ENV=production discourse bundle exec rake plugin:install repo=https://github.com/jonmbake/discourse-ldap-auth.git
|
||||
docker compose exec -t -w /opt/bitnami/discourse --env RAILS_ENV=production discourse bundle exec rake assets:precompile
|
||||
|
@ -70,6 +77,7 @@ docker compose exec -t -w /opt/bitnami/discourse --env RAILS_ENV=production disc
|
|||
## Suppression d'un plugin
|
||||
|
||||
Exemple ici avec le plugin ldap-auth :
|
||||
|
||||
```bash
|
||||
docker compose exec -t -w /bitnami/discourse/plugins/ discourse rm -rf discourse-ldap-auth
|
||||
docker compose exec -t -w /opt/bitnami/discourse --env RAILS_ENV=production discourse bundle exec rake assets:precompile
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
---
|
||||
docker_discourse_smtp_open_timeout: 5
|
||||
docker_discourse_smtp_read_timeout: 5
|
||||
|
|
|
@ -26,6 +26,8 @@ services:
|
|||
- DISCOURSE_SMTP_PASSWORD={{ docker_discourse_smtp_password }}
|
||||
- DISCOURSE_SMTP_PROTOCOL={{ docker_discourse_smtp_protocol }}
|
||||
- DISCOURSE_SMTP_AUTH={{ docker_discourse_smtp_auth }}
|
||||
- DISCOURSE_SMTP_OPEN_TIMEOUT={{ docker_discourse_smtp_open_timeout }}
|
||||
- DISCOURSE_SMTP_READ_TIMEOUT={{ docker_discourse_smtp_read_timeout }}
|
||||
volumes:
|
||||
- {{ docker_discourse_data_dir }}/{{ docker_discourse_service_id }}/discourse-files:/bitnami/discourse
|
||||
labels:
|
||||
|
@ -73,7 +75,7 @@ services:
|
|||
- redis
|
||||
- discourse
|
||||
volumes:
|
||||
- {{ docker_discourse_data_dir }}/{{ docker_discourse_service_id }}:/bitnami/discourse
|
||||
- {{ docker_discourse_data_dir }}/{{ docker_discourse_service_id }}/discourse-files:/bitnami/discourse
|
||||
command: /opt/bitnami/scripts/discourse-sidekiq/run.sh
|
||||
environment:
|
||||
- DISCOURSE_HOST={{ docker_discourse_fqdn }}
|
||||
|
|
Loading…
Reference in a new issue