about summary refs log tree commit diff
path: root/deploy/setup-mastodon.sh
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-01-17 13:59:40 -0600
committerStarfall <us@starfall.systems>2023-01-17 14:26:55 -0600
commit7515716e7f3950a3a6de04aac1b88215aa40795e (patch)
tree9a67642bfde79cfef092de8b87a3c80bd2ccad43 /deploy/setup-mastodon.sh
parent0d0c26b589a0fedb4cf336683da4c0272a4391d1 (diff)
update almost everything except the setup script
Diffstat (limited to 'deploy/setup-mastodon.sh')
-rwxr-xr-xdeploy/setup-mastodon.sh12
1 files changed, 12 insertions, 0 deletions
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