My docker-compose.yml file is inspired by your docker-compose.yml and docker-compose.lite.yml files.
Edit ADMIN_USER or ADMIN_PASS variables doesn't work.
The account stay with default values => admin:admin
Even if I try to edit DESCRIPTION variable, description stay with default value => "Statping Sample Data".
# docker-compose.yml
version: '3.7'
services:
statping:
image: statping/statping:v0.90.37
ports:
- 8080:8080
environment:
DB_CONN: sqlite
PORT: 8080
API_SECRET: exampleapisecret
NAME: Statping on SQLite
DOMAIN: http://localhost:8080
DESCRIPTION: This is a dev environment on SQLite!
ADMIN_USER: admin
ADMIN_PASS: password
Change admin password and other env variables like DESCRIPTION.
Related to #520
Experiencing this problem on the same version.
The env variables I set have no effect and StatPing loads default samples to my instance (INFO[0013] Adding Sample records to service #1).
I'll look into this.
This issue hasn't had any updates in a while. If this is still a problem, please create a new issue.
Is this one fixed?
We've found on Statping v0.90.74, if you have some environment variables set, but not DB_CONN then the other environment variables will not take effect.