wekan/torodb-postgresql
Lauri Ojansivu 88c6ce1c7e Updates.
2024-02-12 22:34:09 +02:00
..
CHANGELOG.md Move https://github.com/wekan/wekan-postgresql to 2019-04-20 16:05:54 +03:00
docker-compose.yml Azure AD B2C login using OAuth2. https://github.com/wekan/wekan/wiki/B2C 2023-12-17 13:54:55 +02:00
LICENSE Move https://github.com/wekan/wekan-postgresql to 2019-04-20 16:05:54 +03:00
README.md Updates. 2024-02-12 22:34:09 +02:00

Try FerretDB instead

https://github.com/wekan/wekan/wiki/PostgreSQL

ToroDB is not developed anymore.

ToroDB is compatible with MongoDB 3.0. WeKan 7.x is compatible with MongoDB 6.x.

Docker: Wekan to PostgreSQL read-only mirroring

Screenshot

Screenshot of PostgreSQL with LibreOffice

Install

  1. Install docker-compose.

  2. Clone this repo.

git clone https://github.com/wekan/wekan
cd torodb-postgresql
  1. IMPORTANT: In docker-compose.yml, to use Wekan on local network, change ROOT_URL=http://localhost to http://IPADRESS like http://192.168.10.100 or http://example.com

  2. OPTIONAL: In docker-compose.yml, change PostgreSQL database name, username and password from wekan to something else.

  3. Write:

docker-compose up -d
  1. Wekan is at http://IPADDRESS or http://example.com (port 80)

  2. PostgreSQL connection URL for LibreOffice is dbname=wekan hostaddr=127.0.0.1 port=15432 user=wekan password=wekan. In some other apps URL could be postgresql://127.0.0.1:15432/wekan , and Username: wekan, Password: wekan , or others if you changed those at docker-compose.yml. Do not write to PostgreSQL, as it's readonly mirror. Write to MongoDB or make changes in Wekan. If server port 15432 open, PostgreSQL can be accessed also remotely at local network at http://IPADDRESS:15432/wekan

  3. MongoDB is at 127.0.0.1:28017

  4. Wekan and databases bind to address 0.0.0.0 so could be also available to other computers in network. I have not tested this.

  5. Restore your MongoDB data.

Feedback

GitHub issue 787