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.
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.