From 7515716e7f3950a3a6de04aac1b88215aa40795e Mon Sep 17 00:00:00 2001 From: Starfall Date: Tue, 17 Jan 2023 13:59:40 -0600 Subject: update almost everything except the setup script --- deploy/setup-mastodon.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'deploy/setup-mastodon.sh') diff --git a/deploy/setup-mastodon.sh b/deploy/setup-mastodon.sh index e394184..165bbf4 100755 --- a/deploy/setup-mastodon.sh +++ b/deploy/setup-mastodon.sh @@ -1,5 +1,17 @@ #!/bin/bash +# copy files +install docker-compose.yaml /srv/plural.cafe/docker-compose.yaml +install conf/nginx.conf /etc/nginx/sites-available/pluralcafe +install conf/common-ssl.conf /etc/nginx/snippets/common-ssl.conf +install conf/robots.txt /srv/plural.cafe/html/robots.txt +install scripts/backup.sh /srv/plural.cafe/scripts/backup.sh + +install conf/.env.ambassador /srv/plural.cafe/mastodon/.env.ambassador +install conf/.env.production /srv/plural.cafe/mastodon/.env.production +# TODO some edits here + +# TODO rewrite the below [ -z "$YML_LOC" ] && YML_LOC="$(pwd)" cd $YML_LOC -- cgit