You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Container logs
```bash
**Logs**
**wikijs**
2024-04-08T18:30:02.363Z [MASTER] info: Initializing...
2024-04-08T18:30:03.154Z [MASTER] info: Using database driver pg for postgres [ OK ]
2024-04-08T18:30:03.158Z [MASTER] info: Connecting to database...
2024-04-08T18:30:03.182Z [MASTER] error: Database Connection Error: ECONNREFUSED 172.19.0.7:3306
2024-04-08T18:30:03.182Z [MASTER] warn: Will retry in 3 seconds... [Attempt 1 of 10]
2024-04-08T18:30:06.187Z [MASTER] info: Connecting to database...
2024-04-08T18:30:06.189Z [MASTER] error: Database Connection Error: ECONNREFUSED 172.19.0.7:3306
wiki-db
2024-04-08 18:29:50.695 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-lin ux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-04-08 18:29:50.696 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-04-08 18:29:50.697 UTC [1] LOG: listening on IPv6 address "::", port 5432
2024-04-08 18:29:50.705 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
The text was updated successfully, but these errors were encountered:
Looks like this might have been the config file getting created on first run then changing the port in the docker-compose.yml file post first deployment, meant that it was still using the config file and ignoring the env variable. You can ignore this report!
Is there an existing issue for this?
Current Behavior
Wikijs ignores the defined port number in docker-compose.yml.
Expected Behavior
wikijs should try to connect on the port specified in the config.
Steps To Reproduce
Details below.
Environment
- OS: Ubuntu 22.04LTS.
CPU architecture
x86-64
Docker creation
wiki-db
The text was updated successfully, but these errors were encountered: