move config to sample

This commit is contained in:
leca 2024-10-28 20:04:00 +03:00
parent f2945fc92d
commit 155faa6731
2 changed files with 7 additions and 6 deletions

View File

@ -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``

View File

@ -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!"
} }