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
1. Edit ``config.json`` to your needs
2. Edit ``docker-compose.yml`` (insert changed database credentials from ``config.json``)
3. First-time: ``docker-compose up --build``
4. Then just: ``docker-compose up -d``
1.Copy ``sample.config.json`` to ``config.json``
2. Edit ``config.json`` to your needs (port, database credentials)
3. Edit ``docker-compose.yml`` (insert changed port and database credentials from ``config.json``)
4. First-time: ``docker-compose up --build``
5. Then just: ``docker-compose up -d``

View File

@ -2,9 +2,9 @@
"debug": true,
"port": "8081",
"dbuser": "bsfe",
"dbhost": "database",
"dbhost": "localhost",
"dbport": "5432",
"dbpassword": "Ch@NgEME!",
"dbname": "bsfe",
"secret": "SECRET!11!1!"
}
}