Open stephane-klein opened 1 year ago
En lien avec ce sujet https://github.com/stephane-klein/backlog/issues/189
J'ai trouvé ce dépôt GitHub https://github.com/tiredofit/docker-discourse
docker-discourse/examples on main [!?]
❯ docker-compose up discourse
examples_postgres_1 is up-to-date
examples_redis_1 is up-to-date
Creating examples_discourse_1 ... done
Attaching to examples_discourse_1
discourse_1 | ,---.
discourse_1 | ,--------.,--. ,--. ,---. ,--. ,--------.| |
discourse_1 | '--. .--'`--',--.--. ,---. ,-| | ,---. / .-' | | '--. .--'| .'
discourse_1 | | | ,--.| .--'| .-. :' .-. | | .-. || `-, | | | | | |
discourse_1 | | | | || | \ --.\ `-' | ' '-' '| .-' | |.--.| | `--'
discourse_1 | `--' `--'`--' `----' `---' `---' `--' `--''--'`--' .--.
discourse_1 | '--'
discourse_1 | Image: tiredofit/discourse | Version 3.1.4 Type 'image_changelog' for details
discourse_1 | Repository/Issues/Support: https://github.com/tiredofit/docker-discourse/
discourse_1 | Sponsor me for development and upkeep: https://www.tiredofit.ca/sponsor
discourse_1 |
discourse_1 | 2023-04-07.15:05:58 [NOTICE] ** [timezone] Timezone: Setting to 'America/Vancouver' from 'Etc/GMT'
discourse_1 | 2023-04-07.08:05:58 [NOTICE] ** [monitoring] Container configured for monitoring with 'zabbix modern'
discourse_1 | 2023-04-07.08:05:58 [NOTICE] ** [scheduling] Container configured for scheduled tasks with 'cron'
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [messaging] Container configured to route mail via SMTP to 'mailcatcher'
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [nginx] Disabling Nginx Functionality
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [discourse] Enabling Plugin: Details
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [discourse] Enabling Plugin: Lazy YouTube
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [discourse] Enabling Plugin: Local Dates
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [discourse] Enabling Plugin: Narrative Bot
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [discourse] Enabling Plugin: Polls
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [discourse] Enabling Plugin: Presence
discourse_1 | 2023-04-07.08:05:59 [NOTICE] ** [discourse] Enabling Plugin: Style Guide
discourse_1 | 2023-04-07.08:05:59 [INFO] ** [discourse] Migrating Database - This may take a bit..
discourse_1 | 2023-04-07.08:06:16 [INFO] ** [discourse] Precompiling Assets - This may take a bit..
discourse_1 | 2023-04-07.08:07:53 [STARTING] ** [monitoring] [1] Starting Zabbix Agent (modern) 6.4.0
discourse_1 | 2023-04-07.08:07:53 [STARTING] ** [rails] Starting Rails - Discourse version v3.0.2
discourse_1 | 2023-04-07.08:07:53 [STARTING] ** [scheduling] [1] Starting cron
discourse_1 | 2023-04-07.08:07:54 [STARTING] ** [sidekiq] [1] Starting Sidekiq
discourse_1 | 2023-04-07.08:07:56 [STARTING] ** [rails] Starting Rails - Discourse version v3.0.2
discourse_1 | 2023-04-07.08:07:58 [STARTING] ** [rails] Starting Rails - Discourse version v3.0.2
...
Je ne comprends pas pourquoi le projet https://github.com/tiredofit/docker-discourse a fait le choix de compiler pendant presque 2 min les assets de Discourse.
Ce choix ne respecte pas le facteur 5 : https://12factor.net/fr/build-release-run
Je viens de créer cette issue https://github.com/tiredofit/docker-discourse/issues/3
.
Je suis un peu perdu sur le fonctionnement du container Discourse tiredofit/docker-discourse
.
Cette image est basée sur https://github.com/tiredofit/docker-debian/blob/main/Dockerfile qui utilise https://github.com/just-containers/s6-overlay
Pour le moment, je ne comprends pas trop l'intérêt de https://github.com/just-containers/s6-overlay versus http://supervisord.org/ :thinking:.
Je suis en train de lire https://github.com/just-containers/s6-overlay#the-docker-way
Je viens de voir https://github.com/flyimg/base-image/issues/3
Je commence à lire https://ahmet.im/blog/minimal-init-process-for-containers/
J'ai quelques difficultés avec https://github.com/tiredofit/docker-discourse, j'ai posté 3 bugs https://github.com/tiredofit/docker-discourse/issues, j'ai contacté l'auteur de ce projet via Matrix.
En attendant, je vais me lancer à la recherche de projet alternatif.
En attendant, je vais me lancer à la recherche de projet alternatif.
J'ai envie de tester :
En attendant, je vais me lancer à la recherche de projet alternatif.
J'ai envie de tester :
J'ai cette erreur https://github.com/saulshanabrook/discourse-hosting/issues/3
.
Je suis plutôt triste, je n'ai rien qui fonctionne ! Je ne comprends pas pourquoi que le déploiement d'un Discourse soit si compliqué 😟.
Je continue ma recherche.
Étant donné mes difficultés, je vais essayer à nouveau la méthode officielle #191, même si ce n'est pas une méthode que j'apprécie.
Je souhaite, dans cette issue, publier un playground d'hébergement permettant de déployer une instance Discourse avec les contraintes suivantes :
redis
etpostgres
dans des containers séparésdiscourse
doit suivre la méthode "12 factor".