docker-powerdns icon indicating copy to clipboard operation
docker-powerdns copied to clipboard

Is postgres really supported?

Open gionn opened this issue 6 years ago • 5 comments

MySQL (default), Postgres, SQLite and Bind backend included

Apart from the README, I don't see any sign that Postgres is implemented.

gionn avatar Jan 21 '19 09:01 gionn

https://github.com/psi-4ward/docker-powerdns/blob/master/Dockerfile#L23

should work but there is no auto database init like for mysql

psi-4ward avatar Jan 21 '19 15:01 psi-4ward

Not very usable without that, but there is an unmaintained fork that supports postgres autoinit. I can integrate that on the current master if you are willing to accept a PR.

Thanks.

gionn avatar Jan 21 '19 17:01 gionn

I don't see the pqsql stuff only the schema files.

psi-4ward avatar Jan 21 '19 17:01 psi-4ward

I had taken a peek on this branch, there are PG_* vars

gionn avatar Jan 21 '19 17:01 gionn

Ah i see, could be a way to go. If the mods don't excessively make the image bigger we could add that. But I don't have too much time atm.

psi-4ward avatar Jan 21 '19 17:01 psi-4ward