Configuring the Database
The SQLite website is refreshingly honest when it comes to describing what this database is good at and what it’s not good at.[84] 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 first service listed is named db. This name serves as the host name for the container. 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 the network, services refer to each other ...
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