diff options
author | reverite <samantha@chalker.io> | 2018-03-27 22:09:00 -0700 |
---|---|---|
committer | reverite <samantha@chalker.io> | 2018-03-27 22:09:00 -0700 |
commit | 7718fb922543162e3bdafebf503a08e84faeb173 (patch) | |
tree | b450b27829d7e2e6f2ecc8df841ee06b1c0ad054 /deploy/setup-mastodon.sh | |
parent | 8550be23e6dd30ab24b109185ead7ae432903cce (diff) |
forgot to set docker stuff
Diffstat (limited to 'deploy/setup-mastodon.sh')
-rwxr-xr-x | deploy/setup-mastodon.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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=$! |