Skip to content
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

does this actually work with postgres? #7

Open
bschmidt-highspot opened this issue Oct 27, 2022 · 1 comment
Open

does this actually work with postgres? #7

bschmidt-highspot opened this issue Oct 27, 2022 · 1 comment

Comments

@bschmidt-highspot
Copy link

I can't seem to get this to work with psql - can't even seem to get alertsnitch to use the non-default mysql, tried specifying the DSN in every way I can think of, like my docker-compose has these in it:

ALERTSNITCH_DSN: "sslmode=disable user=alertsnitch password=alertsnitch host=postgres database=/alertsnitch"
ALERSTNITCH_BACKEND: "postgres"

but I still get

failed to connect to database: failed to open MySQL connection: default addr for network 'sslmode=disable user= password= host= database=' unknown

any ideas?? Thanks!

@bschmidt-highspot
Copy link
Author

used

ALERTSNITCH_DSN: "sslmode=disable user=alertsnitch password=alertsnitch host=host.docker.internal database=alertsnitch"

and seems ro be working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant