From 7718fb922543162e3bdafebf503a08e84faeb173 Mon Sep 17 00:00:00 2001 From: reverite Date: Tue, 27 Mar 2018 22:09:00 -0700 Subject: forgot to set docker stuff --- deploy/setup-mastodon.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'deploy/setup-mastodon.sh') diff --git a/deploy/setup-mastodon.sh b/deploy/setup-mastodon.sh index 14ae9af..239be66 100755 --- a/deploy/setup-mastodon.sh +++ b/deploy/setup-mastodon.sh @@ -17,6 +17,8 @@ sed -i 's|DB_HOST=db|DB_HOST=mstdb|' $YML_LOC/.docker/mastodon/.env.production sed -i 's|ES_HOST=es|ES_HOST=mstes|' $YML_LOC/.docker/mastodon/.env.production sed -i "s|SECRET_KEY_BASE=|SECRET_KEY_BASE=$SECRET_KEY_BASE|" $YML_LOC/.docker/mastodon/.env.production sed -i "s|OTP_SECRET=|OTP_SECRET=$OTP_SECRET|" $YML_LOC/.docker/mastodon/.env.production +sed -i "s|# UID=1000|UID=$MUID|" $YML_LOC/.docker/mastodon/.env.production +sed -i "s|# GID=1000|GID=$MUID|" $YML_LOC/.docker/mastodon/.env.production docker-compose run --rm mstweb rake db:migrate (openssl dhparam -rand /dev/urandom -out $YML_LOC/.docker/nginx/dhparam.pem 4096 2>&1 >/dev/null) & pid=$! -- cgit