Closed Al2Klimov closed 2 years ago
➜ docker-icingadb git:(43) docker run --rm -ite ICINGADB_database_host=172.17.0.3 -e ICINGADB_database_port=5432 -e ICINGADB_database_type=pgsql -e ICINGADB_database_database=idb -e ICINGADB_database_password=idb -e ICINGADB_database_user=idb docker.io/icinga/icingadb 2022-03-24T17:09:23.268Z DEBUG entrypoint/main.go:42 translating env vars to YAML config 2022-03-24T17:09:23.271Z DEBUG entrypoint/main.go:87 checking SQL database 2022-03-24T17:09:23.298Z DEBUG entrypoint/main.go:116 importing schema into SQL database 2022-03-24T17:09:25.028Z DEBUG entrypoint/main.go:81 starting actual daemon via exec(3) 2022-03-24T17:09:25.096Z INFO icingadb Starting Icinga DB 2022-03-24T17:09:25.097Z INFO icingadb Connecting to database 2022-03-24T17:09:25.106Z INFO icingadb Connecting to Redis 2022-03-24T17:09:25.110Z WARN redis Can't connect to Redis. Retrying {"error": "dial tcp 127.0.0.1:6379: connect: connection refused"} ^C% ➜ docker-icingadb git:(43) docker run --rm -ite ICINGADB_database_host=172.17.0.3 -e ICINGADB_database_port=5432 -e ICINGADB_database_type=pgsql -e ICINGADB_database_database=idb -e ICINGADB_database_password=idb -e ICINGADB_database_user=idb docker.io/icinga/icingadb 2022-03-24T17:09:36.709Z DEBUG entrypoint/main.go:42 translating env vars to YAML config 2022-03-24T17:09:36.709Z DEBUG entrypoint/main.go:87 checking SQL database 2022-03-24T17:09:36.719Z DEBUG entrypoint/main.go:81 starting actual daemon via exec(3) 2022-03-24T17:09:36.790Z INFO icingadb Starting Icinga DB 2022-03-24T17:09:36.791Z INFO icingadb Connecting to database 2022-03-24T17:09:36.797Z INFO icingadb Connecting to Redis 2022-03-24T17:09:36.798Z WARN redis Can't connect to Redis. Retrying {"error": "dial tcp 127.0.0.1:6379: connect: connection refused"} ^C% ➜ docker-icingadb git:(43)