michaelmob / docker-funkwhale

All-in-one funkwhale docker image.
92 stars 18 forks source link

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

Open einverne opened 4 years ago

einverne commented 4 years ago

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.

Extarys commented 4 years ago

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