-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run with Postgres #82
Conversation
components/konvoy-control-plane/pkg/core/bootstrap/bootstrap.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any connect timeout to Postgres
?
Apparently, there is a problem with connectivity to Postgres
on my machine and Control Plane
stuck at start up:
KONVOY_GRPC_PORT=5678 \
KONVOY_HTTP_PORT=5679 \
KONVOY_ENVIRONMENT=standalone \
KONVOY_STORE_TYPE=postgres \
KONVOY_STORE_POSTGRES_HOST=localhost \
KONVOY_STORE_POSTGRES_PORT=15432 \
KONVOY_STORE_POSTGRES_USER=konvoy \
KONVOY_STORE_POSTGRES_PASSWORD=konvoy \
KONVOY_STORE_POSTGRES_DB_NAME=konvoy \
go run ./app/konvoy-cp/main.go run
2019-07-30T20:08:50.132+0200 INFO Skipping reading config from file
^Csignal: interrupt
make: *** [run/standalone/postgres] Error 1
real 8m49.101s
user 0m20.401s
sys 0m13.761s
cfe24b7
to
b5ccd4b
Compare
Rebased to master. |
b5ccd4b
to
b326589
Compare
Created new Makefile tasks
start/postgres
- start postgres with initialized DBrun/standalone/postgres
- runs CP with standalone postgres modemoved
test/postgres/docker-compose.yaml
totools/postgres/docker-compose.yaml
, because it's now used inintegration
as well as instart/postgres
.Installation script is in
install/postgres/resource.sql
and is used in docker-compose.Removed
PluginConfig
as it was ignored in 5 cases. Postgres is the first case in which we configure plugin, but it's kind of more convenient to retrieve it fromPluginContext
without type casting.