Configuring the Databases
The SQLite website is refreshingly honest when it comes to describing what this database is good at and what it’s not good at.[89] In particular, SQLite isn’t recommended for high-volume, high-concurrency websites with large datasets. And, of course, we want our website to be such a website. Plenty of alternatives to SQLite, both free and commercial, are available. We’ll go with PostgreSQL.
Looking at the docker-compose.yml file, the second and third services listed are named postgres-db and redis-db. These names serves as the host names for these two containers. Each service defined in the container is deployed on a private network isolated from the rest of the world except for ports that you decide to expose. Inside ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access