This is the part from the file as below,
root@debian-mailman-001:/opt/mailman/docker-mailman# vi docker-compose.yaml
=======
8><----
mailman-web: image: maxking/mailman-web:0.2 container_name: mailman-web hostname: mailman-web depends_on: - database links: - mailman-core:mailman-core - database:database volumes: - /opt/mailman/web:/opt/mailman-web-data environment: - DATABASE_TYPE=postgres - DATABASE_URL=postgres://mailman:mailmanpass@database/mailmandb - HYPERKITTY_API_KEY=blah-blah-hyper - SECRET_KEY=blah-blah-secret - SERVE_FROM_DOMAIN=lists.xxxxxxxx networks: mailman: ipv4_address: 172.19.199.3 8><=====
regards
Steven
From: Abhilash Raj <maxking@asynchronous.in> Sent: Wednesday, 26 June 2019 12:58 PM To: Mailman users Subject: [MM3-users] Re: SECRET_KEY is not defined. Aborting.
On Tue, Jun 25, 2019, at 5:56 PM, Steven Jones wrote:
8><--- root@debian-mailman-001:/opt/mailman/docker-mailman# docker run maxking/mailman-web:0.2 SECRET_KEY is not defined. Aborting. root@debian-mailman-001:/opt/mailman/docker-mailman# 8><---
I keep getting this, I have attempted to set a SECRET_KEY in
/opt/mailman/web/settings_local.py
and,
docker-compose.yaml
Did you set it under mailman-web -> environment?
That is where you need to set that value.
No joy, can you tell me how I set this variable? or where I get it from? is it pre-generated somewhere? your documentation just does not explain this that I can find, despite even a lot of time googling.
It is not autogenerate, you neeed to generate a random value and put it there manually.
PS I have assumed the hyprekitty key is something I set myself, just like a manual password sort of thing, again there is no explanation I can find that explains how to do this properly either.
Can this documentation be improved please.
To get anywhere at all I finally found this,
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fxiaoxing.u...
So I have core running OK I think,
======
root@debian-mailman-001:/opt/mailman/docker-mailman# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 99f434ef3664 maxking/mailman-core:0.2 "docker-entrypoint.s…" 2 hours ago Up About an hour 8001/tcp, 8024/tcp mailman-core 4c0e165d3a90 postgres:9.6-alpine "docker-entrypoint.s…" 2 hours ago Up About an hour 5432/tcp dockermailman_database_1 root@debian-mailman-001:/opt/mailman/docker-mailman#
regards
Steven
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mail...
-- thanks, Abhilash Raj (maxking)
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mail...