odyssey/docker
reshke 1710d40246
Target session attr feature for storage (#456)
* Target session attr feature for storage


Storage host section is now accepts a comma-separated
PostgreSQL hosts list, in format "host2,host2"
or "[host1]:port1,host2" etc.

Storage structure now holds pointer to host, which connection was acquired.
This is required to cancel`s queries to work fine.

Target session attrs policies added:

    read-write
    read-only
    any (default)

Target session attrs uses pg_is_in_recovery function to
check if host in primary or replica. in_hot_standby option is not checked yet.
2022-08-18 17:15:13 +05:00
..
auth_query Add auth query basic tests & add test with restart for lag polling (#387) 2021-12-10 11:13:58 +05:00
bin Target session attr feature for storage (#456) 2022-08-18 17:15:13 +05:00
dev fix tests and drop travis ci (#358) 2021-11-12 16:54:50 +05:00
dpkg Deb fixes for https://www.postgresql.org/message-id/flat/YOMyXyErQ50je0zh%40msg.df7cb.de#c997486f4403d814ff6d1967772e58eb 2021-12-03 21:52:33 +00:00
hba Add HBA config file support, add hba reload logic. (#442) 2022-07-04 15:01:34 +05:00
lagpolling Add roles in console DB (#371) 2021-12-16 04:08:42 +05:00
ldap Access management to PostgreSQL with LDAP (#454) 2022-08-13 13:55:13 +05:00
ody-integration-test Target session attr feature for storage (#456) 2022-08-18 17:15:13 +05:00
pg LDAP auth in od 2021-04-28 17:54:56 +05:00
prep_stmts Fix odyssey scram compile with PG15, also fix compile-time warns (#440) 2022-06-22 14:56:07 +03:00
scram fix: lint and format sh, set xtrace where necessary... 2021-11-25 14:47:09 +05:30
shell-test Config override client pg options (#399) 2022-01-10 10:31:04 +05:00
tsa Target session attr feature for storage (#456) 2022-08-18 17:15:13 +05:00
Dockerfile Target session attr feature for storage (#456) 2022-08-18 17:15:13 +05:00
README.md fix coveirty issues + remove legacy (#224) 2020-10-26 17:29:05 +05:00
entrypoint.sh Target session attr feature for storage (#456) 2022-08-18 17:15:13 +05:00
odyssey.conf Add roles in console DB (#371) 2021-12-16 04:08:42 +05:00

README.md

Local development inside Docker

To start you will need a Docker installed. To install see docker-for-mac, docker-for-windows, docker-for-linux.

To start just run:

docker-compose up

This command will:

  • Build Docker image with needed dependencies
  • Build CMAKE_BUILD_TYPE version of Odyssey (Debug by default)
  • Start Odyssey with odyssey.conf from this directory

Feel free to edit odyssey.conf  it's for local development and will not be committed.