This commit is contained in:
Your Name 2023-05-13 16:21:21 -06:00
parent 157b0e7a81
commit 018fa87ba8
2 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,7 @@ https:
#───┘ PostgreSQL configuration └────────────────────────────────
db:
host: changeDATABASE
host: localhost
port: 5432
# Database name

View File

@ -50,7 +50,6 @@ misskey
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=US/ST=CO/L=Denver/O=$ENDPOINT/CN=$ENDPOINT" -keyout /etc/ssl/certs/privkey.key -out /etc/ssl/certs/fullchain.crt
sed -i "s/ENDPOINT/${ENDPOINT}/g" /opt/misskey/.config/default.yml
sed -i "s/changeDATABASE/${DATABASE_HOST}/g" /opt/misskey/.config/default.yml
sed -i "s/misskeyDATABASE/${DB_NAME}/g" /opt/misskey/.config/default.yml
sed -i "s/example-misskey-user/${DB_USERNAME}/g" /opt/misskey/.config/default.yml
sed -i "s/example-misskey-pass/${DB_PASSWORD}/g" /opt/misskey/.config/default.yml