Added email fix for baserow, vaultwarden, and print_details at end of scrtip
This commit is contained in:
parent
cbc7fd4a49
commit
6f070062c5
@ -61,6 +61,7 @@ echo -ne "\n\nStarting Federated install for $DOMAIN\n"
|
|||||||
# Check that we have docker installed. Check that
|
# Check that we have docker installed. Check that
|
||||||
# we have all ports available and not in use
|
# we have all ports available and not in use
|
||||||
check_docker
|
check_docker
|
||||||
|
check_os
|
||||||
check_ports
|
check_ports
|
||||||
|
|
||||||
# Configure docker private network
|
# Configure docker private network
|
||||||
@ -73,23 +74,5 @@ for i in dns postgresql ldap mail collabora proxy nextcloud matrix element listm
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Print out federated environment details
|
# Print out federated environment details
|
||||||
|
print_details
|
||||||
echo -ne "\n\n"
|
echo -ne "\n\n"
|
||||||
cat << EOF
|
|
||||||
* The services are at these hostnames..
|
|
||||||
mail.$DOMAIN
|
|
||||||
www.$DOMAIN
|
|
||||||
panel.$DOMAIN
|
|
||||||
nextcloud.$DOMAIN
|
|
||||||
jitsi.$DOMAIN
|
|
||||||
element.$DOMAIN
|
|
||||||
listmonk.$DOMAIN
|
|
||||||
vaultwarden.$DOMAIN
|
|
||||||
vpn.$DOMAIN
|
|
||||||
connector.$DOMAIN
|
|
||||||
baserow.$DOMAIN
|
|
||||||
calcom.$DOMAIN
|
|
||||||
|
|
||||||
* Your VPN Wireguard configuration is..
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cat /federated/apps/wireguard/data/config/peer1/peer1.conf
|
|
||||||
|
@ -53,7 +53,7 @@ BASEROW_AMOUNT_OF_GUNICORN_WORKERS=1
|
|||||||
BASEROW_RUN_MINIMAL=1
|
BASEROW_RUN_MINIMAL=1
|
||||||
BASEROW_TRIGGER_SYNC_TEMPLATES_AFTER_MIGRATION="false"
|
BASEROW_TRIGGER_SYNC_TEMPLATES_AFTER_MIGRATION="false"
|
||||||
EMAIL_SMTP=True
|
EMAIL_SMTP=True
|
||||||
FROM_EMAIL=admin@$DOMAIN
|
FROM_EMAIL=baserow@$DOMAIN
|
||||||
EMAIL_SMTP_HOST=mail.$DOMAIN
|
EMAIL_SMTP_HOST=mail.$DOMAIN
|
||||||
EMAIL_SMTP_PORT=587
|
EMAIL_SMTP_PORT=587
|
||||||
EMAIL_SMTP_USER=admin
|
EMAIL_SMTP_USER=admin
|
||||||
|
@ -68,3 +68,67 @@ start_service() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
print_details() {
|
||||||
|
cat > /federated/apps/mail/data/root/certs/mailfile <<EOF
|
||||||
|
Panel: User Management
|
||||||
|
https://panel.$DOMAIN
|
||||||
|
|
||||||
|
You must also log in as an admin user to https://vaultwarden.$DOMAIN
|
||||||
|
to create an organization for your team. Open the URL
|
||||||
|
(https://vaultwarden.$DOMAIN) and click the text below "Continue"
|
||||||
|
that says "Create account".
|
||||||
|
|
||||||
|
You will need this information for the VPN that can be set up by
|
||||||
|
users of your system. Please keep it private.
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat /federated/apps/wireguard/data/config/peer1/peer1.conf >> /federated/apps/mail/data/root/certs/mailfile
|
||||||
|
|
||||||
|
cat >> /federated/apps/mail/data/root/certs/mailfile <<EOF
|
||||||
|
All documentation for administration of your Federated Core can
|
||||||
|
be found at: https://documentation.federated.computer/administration.
|
||||||
|
|
||||||
|
Users can then log into the following services to use Federated Core:
|
||||||
|
|
||||||
|
Nextcloud: The Nextcloud suite provides web apps and services
|
||||||
|
covering mail, calendar, contacts, notes, tasks, files, project
|
||||||
|
management (deck), bookmarks, forms, team talk, pictures, and an
|
||||||
|
activity monitor. It can be accessed at: https://nextcloud.$DOMAIN
|
||||||
|
|
||||||
|
Jitsi: Video-conferencing. The current installation supports (4)
|
||||||
|
users and can be extended by adding more RAM to the system. It can
|
||||||
|
be found at: https://jitsi.$DOMAIN
|
||||||
|
|
||||||
|
Element: Worldwide Federated Chat. This chat client uses Matrix and
|
||||||
|
can be used chat with users outside your team and can even interact
|
||||||
|
with other chat servers around the world including Signal, Whatsapp,
|
||||||
|
and other services. It is found at: https://element.$DOMAIN
|
||||||
|
|
||||||
|
Listmonk: Marketing Email Service. Use Listmonk the way you would use
|
||||||
|
Mailchimp. Found here: https://listmonk.$DOMAIN
|
||||||
|
|
||||||
|
Vaultwarden: Password Management. Open source equivalent of Bitwarden
|
||||||
|
and is a widely used replacement for 1password, Lastpass, and other
|
||||||
|
password managers. https://vaultwarden.$DOMAIN
|
||||||
|
|
||||||
|
Baserow: Easy Database. Replacement for Airtable. Build amazing, easy
|
||||||
|
to create on-line databases to be used by your team.
|
||||||
|
https://baserom.$DOMAIN
|
||||||
|
|
||||||
|
Cal.com: Easy scheduling. Create easy links so that others can easily
|
||||||
|
schedule time on your calendar without the annoying back-and-forth.
|
||||||
|
https://calcom.$DOMAIN
|
||||||
|
|
||||||
|
Connector: a utility to automatically configure all your applications
|
||||||
|
on macOS, iOS, Windows, Android for use with your Federated Core.
|
||||||
|
https://connector.$DOMAIN
|
||||||
|
|
||||||
|
All documentation for users can be found at
|
||||||
|
https://documentation.federated.computer/users.
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Send out e-mail from mail container with details
|
||||||
|
docker exec -it mail bash -c "mail -r admin@$DOMAIN -s \"Welcome to Feded\" admin@$DOMAIN < /root/certs/mailfile"
|
||||||
|
cat /federated/apps/mail/data/root/certs/mailfile
|
||||||
|
rm /federated/apps/mail/data/root/certs/mailfile
|
||||||
|
@ -49,6 +49,12 @@ VIRTUAL_HOST=vaultwarden.$DOMAIN
|
|||||||
WEBSOCKET_ENABLED=true
|
WEBSOCKET_ENABLED=true
|
||||||
ADMIN_TOKEN=$VAULTWARDEN_SECRET
|
ADMIN_TOKEN=$VAULTWARDEN_SECRET
|
||||||
#- SIGNUPS_ALLOWED=false
|
#- SIGNUPS_ALLOWED=false
|
||||||
|
SMTP_HOST=mail.$DOMAIN
|
||||||
|
SMTP_FROM=vaultwarden@$DOMAIN
|
||||||
|
SMTP_PORT=587
|
||||||
|
SMTP_SECURITY=starttls
|
||||||
|
SMTP_USERNAME=admin
|
||||||
|
SMTP_PASSWORD=$ADMINPASS
|
||||||
EOF
|
EOF
|
||||||
chmod 600 /federated/apps/vaultwarden/.env
|
chmod 600 /federated/apps/vaultwarden/.env
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user