Wordpress round 3
This commit is contained in:
parent
d9aadbf7ed
commit
3738f298a5
@ -35,7 +35,7 @@ do_serviceprep() {
|
||||
docker exec -it pdns pdnsutil set-kind $DOMAIN_NEW native
|
||||
docker exec -it pdns pdnsutil set-meta $DOMAIN_NEW SOA-EDIT-API DEFAULT
|
||||
|
||||
for i in ns1 ns2 powerdns traefik mail www computer panel nextcloud collabora jitsi matrix element listmonk vaultwarden vpn wireguard baserow gitea blog documentation; do
|
||||
for i in ns1 ns2 powerdns traefik mail www computer panel nextcloud collabora jitsi matrix element listmonk vaultwarden vpn wireguard baserow gitea blog documentation podcasts castopod caddy; do
|
||||
docker exec -it pdns pdnsutil add-record $DOMAIN_NEW $i A 86400 $EXTERNALIP
|
||||
done
|
||||
|
||||
@ -746,6 +746,25 @@ convert_caddy() {
|
||||
|
||||
echo -ne "done."
|
||||
}
|
||||
convert_castopod() {
|
||||
#### Convert Castopod
|
||||
echo -ne "\n* Converting castopod.."
|
||||
|
||||
sed -i "s#$DOMAIN#$DOMAIN_NEW#g" /federated/apps/castopod/docker-compose.yml
|
||||
sed -i "s#$DOMAIN#$DOMAIN_NEW#g" /federated/apps/castopod/.env
|
||||
|
||||
# Grab the container IP from docker-compose
|
||||
SERVICE_IP=`grep ipv4_address /federated/apps/castopod/docker-compose.yml | awk '{ print $2 }'`
|
||||
|
||||
# Start service with command to make sure it's up before proceeding
|
||||
start_service_convert "castopod" "nc -z $SERVICE_IP 8000 &> /dev/null"
|
||||
|
||||
MYSQL_ROOTPASSWORD=`cat /federated/apps/pdnsmysql/.env | grep MYSQL_ROOT_PASSWORD | awk -F= '{ print $2 }'`
|
||||
docker exec pdnsmysql bash -c "mysql -uroot -p$MYSQL_ROOTPASSWORD -e \"update cp_auth_identities set secret='admin@$DOMAIN_NEW' where id='1';\""
|
||||
docker exec pdnsmysql bash -c "mysql -uroot -p$MYSQL_ROOTPASSWORD -e \"update cp_users set username='admin@$DOMAIN_NEW' where id='1';\""
|
||||
|
||||
echo -ne "done."
|
||||
}
|
||||
usage() {
|
||||
echo "$0: <domain.com> <organization name>"
|
||||
exit 2
|
||||
@ -799,3 +818,4 @@ convert_jitsi
|
||||
convert_baserow
|
||||
convert_gitea
|
||||
convert_caddy
|
||||
convert_castopod
|
||||
|
@ -11,6 +11,7 @@ config_castopod() {
|
||||
|
||||
if [ ! -d "/federated/apps/castopod" ]; then
|
||||
mkdir -p /federated/apps/castopod/data/var/www/castopod/public/media
|
||||
chown -R 33 /federated/apps/castopod/data/var
|
||||
fi
|
||||
|
||||
cat > /federated/apps/castopod/docker-compose.yml <<EOF
|
||||
|
@ -476,6 +476,20 @@ Only the admin user has access to this service.
|
||||
Username: admin<br>
|
||||
Password: as given above<br>
|
||||
<p>
|
||||
<h4>Castopod: <a href="https://castopod.$DOMAIN">https://castopod.$DOMAIN/cp-auth/login</a></h4>
|
||||
Castopod provides you with a full platform for hosting and delivering podcasts to your audience. The user
|
||||
authentication is limited to the "admin" account. The user name is "admin@$DOMAIN" and the admin password given above.
|
||||
|
||||
User administration is done in Castopod, but you set up users using the admin user created above.
|
||||
<p>
|
||||
<h4>Wordpress: <a href="https://www.$DOMAIN">https://www.$DOMAIN/login</a></h4>
|
||||
Wordpress provides a dynamic content-management-solution used by 10s of millions of websites around the globe. Federated
|
||||
has included it as one of the two (and default) solutions for hosting your domain's website.
|
||||
Simply go to https://wordpress.domain.com/wp-login.php and enter the admin name and password for access to Wordpress for your domain.
|
||||
<p>
|
||||
User name: admin@$DOMAIN
|
||||
Password: password as given above
|
||||
<p>
|
||||
<h4>Thanks for your support!</h4>
|
||||
<p>
|
||||
Thank you for your support of Federated Computer. We really appreciate it and hope you have a very successful
|
||||
|
Loading…
x
Reference in New Issue
Block a user