Using one psql database for OSM psql database and tile server database
I am currently setting up an osm stack on my macOS computer. I have set up the rails port for the OSM website and a map tiles server from this GitHub page: [GitHub page][1]. I followed the instructions for both installations and set up separate psql databases. Is it possible for the rails port OSM psql database to be the same as the tile server database (in a docker container)? There are instructions on the map tiles GitHub page: "to connect to the PostgreSQL database inside the docker container." Could the OSM server directly use the tile server database or vice versa? Thanks!
Edit: I am importing a .pbf file for the OSM psql database, and it seems to be way larger compared to the tile server docker database.
[1]: https://github.com/Overv/openstreetmap-tile-server