From 55488de001f2353d920996e166caf5d496a9afb6 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Jun 2023 15:30:14 +0000 Subject: [PATCH] Fixed welcome email --- lib/functions.sh | 61 ++++++++++++++++++++++++++++++------------------ 1 file changed, 38 insertions(+), 23 deletions(-) diff --git a/lib/functions.sh b/lib/functions.sh index 58cad47..3805312 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -210,6 +210,21 @@ All documentation for your Federated Core can be found at https://documentation. There you'll find tips for how to use your Core and the various open source applications bundled with your Core. +This is your temporary domain: $DOMAIN +When you are ready to switch over to your own domain.com send us an e-mail at support@federated.computer +and let us know you are done migrating your data, have pointed DNS correctly, and ready for us to switch. +We also need to know the domain.com you will be using. + +For setting DNS records you will need to set your glue records for your own domain.com to be: + +ns1.$DOMAIN - $EXTERNALIP +ns2.$DOMAIN - $EXTERNALIP + +And your authoritative: + +ns1.$DOMAIN +ns2.$DOMAIN + The information in this document is for the Admin User only. See the documentation pages for information pertinent to users. @@ -221,14 +236,14 @@ There is an "admin" or administrative use that has access to everything on your Here are the credentials for that user. the credentials for that user. -Username = "admin@{domain.com}" -Password = "{password}" +Username = "admin@$DOMAIN" +Password = "$ADMINPASS" You should log into "Panel" (see next section) and change the password. -Panel: https://panel.{domain.com) +Panel: https://panel.$DOMAIN -Your control panel for users for most Federated Core apps and services is here: https://panel.{domain.com}. +Your control panel for users for most Federated Core apps and services is here: https://panel.$DOMAIN You will log in with the admin user and, then change the password (and ideally, save this password in a safe place for later reference). @@ -247,13 +262,13 @@ Email Your email server has the following settings you can use to configure mobile and desktop email clients. Note: Nextcloud (next section) has a built-in web email client. -SMTP: Server is "mail.{domain.com}" and the port is "465". -IMAP: Server is "mail.{domain.com}" and the port is "993". +SMTP: Server is "mail.$DOMAIN" and the port is "465". +IMAP: Server is "mail.$DOMAIN" and the port is "993". The user and password for the email service is the full email address and password as assigned in Panel (see above). Example: rupert@federated.computer, 56tasty23. -Nextcloud: https://nextcloud.{domain.com} +Nextcloud: https://nextcloud.$DOMAIN The Nextcloud suite (replacing Google Workplace) provides apps and services covering mail, calendar, contacts, notes, tasks, files, word processing, spreadsheets, slides, project management (deck), @@ -265,10 +280,10 @@ There are a number of additional clients for mobile and desktop that work with N https://documentation.federated.computer/docs/core_applications/nextcloud for more information and other documentation. -Username: admin@domain.com +Username: admin@$DOMAIN Password: As given above -Jitsi: https://jitsi.{domain.com} +Jitsi: https://jitsi.$DOMAIN Jitsi (your Zoom replacement) is a wonderful video conferencing solution. We have tuned Jitsi so that your Core can handle video conferences up to 8 people. NOTE, at this time the user and password for @@ -281,7 +296,7 @@ documentation. User administration is done in Panel. -Element: https://element.{domain.com} +Element: https://element.$DOMAIN Element (a Slack replacement) provides you the ability to chat and communicate in real time with those on your team and outside of the team. @@ -296,43 +311,43 @@ easily with users outside your team without giving access to other parts of your User administration is done in Panel. -Listmonk: https://listmonk.{domain.com} +Listmonk: https://listmonk.$DOMAIN Listmonk is a replacement for Mailchimp. You can set up and manage the email lists used to send out -marketing messages. Listmonk is a single-user system and the user name is "listmonk@{domain.com}" -and the password is {password}. For more information, please see the documentation +marketing messages. Listmonk is a single-user system and the user name is "listmonk@$DOMAIN" +and the password is $LISTMONKPASS. For more information, please see the documentation https://documentation.federated.computer/docs/core_applications/listmonk. There is only one user for Listmonk: Listmonk Admin User: listmonk -Listmonk Admin Password: {} +Listmonk Admin Password: $LISTMONKPASS -Baserow: https://baserow.{domain.com} +Baserow: https://baserow.$DOMAIN Baserow (an Airtable replacement) allows you to create customized databases without writing any code. It's an amazing product. The user authentication for Baserow is separate from Federated Core. To set up -the service, log in as your "admin@{domain.com}" user with the correct password. You invite other users +the service, log in as your "admin@$DOMAIN" user with the correct password. You invite other users to Baserow within the service. For more information, please see the documentation https://documentation.federated.computer/docs/core_applications/baserow. User administration is done in Baserow, but you set up users using the admin user given above. -Vaultwaden: https://vaultwarden.{domain.com} +Vaultwaden: https://vaultwarden.$DOMAIN Vaultwarden is a password manager. The user authentication for Vaultwarden is separate from Federated -Core. To set up the service, create an account as your "admin@{your_domain.com}" user with the +Core. To set up the service, create an account as your "admin@$DOMAIN" user with the password for the "admin user". You invite other users to Vaultwarden within the service itself. For more information, please see the documentation https://documentation.federated.computer/docs/core_applications/vaultwarden. User administration is done in Vaultwarden, but you set up users using the admin user created above. -Gitea: https://gitea.{domain.com} +Gitea: https://gitea.$DOMAIN Gitea is a code repository and management system similar to Github. The user authentication is seperate -from Federated Core. To set up the service, log in as your "admin@{your_domain.com}" user with the -correct password. You invite other users to Gitea within the service itself. For more information, please +from Federated Core. To set up the service, log in as your "gitea@$DOMAIN" user with the +admin password. You invite other users to Gitea within the service itself. For more information, please see the documentation https://documentation.federated.computer/docs/core_applications/gitea. User administration is done in Gitea. @@ -357,7 +372,7 @@ VPN Peer PublicKey = {publickey} PresharedKey = {presharedkey} -Endpoint = vpn.{domain.com}:51820 +Endpoint = vpn.$DOMAIN:51820 AllowedIPs = 172.99.0.0/24 Here is your VPN configuration: @@ -370,7 +385,7 @@ cat >> /federated/apps/mail/data/root/certs/mailfile <