mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-09 16:42:49 +00:00
added docker support
This commit is contained in:
22
README.md
22
README.md
@@ -45,28 +45,6 @@ Made with:
|
||||
docker run --name postgres1 -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres
|
||||
```
|
||||
|
||||
# Postgres setup
|
||||
[Setup on Centos7](https://linode.com/docs/databases/postgresql/how-to-install-postgresql-relational-databases-on-centos-7/)
|
||||
|
||||
Change password to postgres user
|
||||
```
|
||||
sudo -u user_name psql db_name
|
||||
|
||||
or
|
||||
|
||||
ALTER USER postgres WITH PASSWORD 'new_password';
|
||||
```
|
||||
|
||||
Edit /var/lib/pgsql/data/pg_hba.conf
|
||||
|
||||
```
|
||||
local all all trust
|
||||
```
|
||||
|
||||
```
|
||||
systemctl restart postgresql
|
||||
```
|
||||
|
||||
# Battlenet API
|
||||
Battlenet required https for a redirect for authentication. I use caddy for https proxy during development.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user