move config to sample
This commit is contained in:
parent
f2945fc92d
commit
155faa6731
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
1. Edit ``config.json`` to your needs
|
1.Copy ``sample.config.json`` to ``config.json``
|
||||||
2. Edit ``docker-compose.yml`` (insert changed database credentials from ``config.json``)
|
2. Edit ``config.json`` to your needs (port, database credentials)
|
||||||
3. First-time: ``docker-compose up --build``
|
3. Edit ``docker-compose.yml`` (insert changed port and database credentials from ``config.json``)
|
||||||
4. Then just: ``docker-compose up -d``
|
4. First-time: ``docker-compose up --build``
|
||||||
|
5. Then just: ``docker-compose up -d``
|
|
@ -2,9 +2,9 @@
|
||||||
"debug": true,
|
"debug": true,
|
||||||
"port": "8081",
|
"port": "8081",
|
||||||
"dbuser": "bsfe",
|
"dbuser": "bsfe",
|
||||||
"dbhost": "database",
|
"dbhost": "localhost",
|
||||||
"dbport": "5432",
|
"dbport": "5432",
|
||||||
"dbpassword": "Ch@NgEME!",
|
"dbpassword": "Ch@NgEME!",
|
||||||
"dbname": "bsfe",
|
"dbname": "bsfe",
|
||||||
"secret": "SECRET!11!1!"
|
"secret": "SECRET!11!1!"
|
||||||
}
|
}
|
Loading…
Reference in New Issue