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

Can I use the PostgreSQL database on the host machine not inside the container?

Open einverne opened this issue 5 years ago • 1 comments

I have a installed PostgreSQL installed in my host computer. I've just tried this images, it loaded and works well, but all the database data is handler by the postgresql inside the container. I have checked the Dockerfile and find a environment variable DATABASE_URL, and passed this variable, it is worked. But I still see that PostgreSQL in container running.

So I just wonder if we remove the PostgreSQL dependency and pass the DATABASE_URL, we can make a smaller image. But it may not be an all-in-one image.

einverne avatar Feb 13 '20 08:02 einverne

I'd also like an all in one container but use an external postgres instance.

Extarys avatar May 19 '20 15:05 Extarys