fix
This commit is contained in:
parent
157b0e7a81
commit
018fa87ba8
@ -55,7 +55,7 @@ https:
|
|||||||
#───┘ PostgreSQL configuration └────────────────────────────────
|
#───┘ PostgreSQL configuration └────────────────────────────────
|
||||||
|
|
||||||
db:
|
db:
|
||||||
host: changeDATABASE
|
host: localhost
|
||||||
port: 5432
|
port: 5432
|
||||||
|
|
||||||
# Database name
|
# Database name
|
||||||
|
1
setup.sh
1
setup.sh
@ -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
|
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/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/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-user/${DB_USERNAME}/g" /opt/misskey/.config/default.yml
|
||||||
sed -i "s/example-misskey-pass/${DB_PASSWORD}/g" /opt/misskey/.config/default.yml
|
sed -i "s/example-misskey-pass/${DB_PASSWORD}/g" /opt/misskey/.config/default.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user