You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The development environment is set up using [Docker Compose](https://docs.docker.com/compose/). This setup defines two services--- `web` (for the FastAPI application) and `web-db` (for the PostgreSQL database).
52
+
The development environment is set up using [Docker Compose](https://docs.docker.com/compose/). This setup defines two services:
54
53
55
54
***web**: sets up the application based on `dev.Dockerfile`.
56
55
57
-
***wev-db**: sets up a PostgreSQL database based on `db.Dockerfile`, which simply [add](https://docs.docker.com/reference/dockerfile/#add)s a `.sql` file to the container at `/docker-entrypoint-initdb.d/`.
56
+
***wev-db**: sets up a PostgreSQL database based on `db.Dockerfile`, which simply [Add](https://docs.docker.com/reference/dockerfile/#add)s a `.sql` file to the container at `/docker-entrypoint-initdb.d/`. Two databases are created: `web_dev` for development and `web_test` for testing; neither is used in production.
58
57
59
58
### Build and Run the Services
60
59
@@ -157,7 +156,7 @@ See the aerich's [usage](https://github.com/tortoise/aerich?tab=readme-ov-file#u
157
156
158
157
## PSQL
159
158
160
-
The PostgreSQL database can be accessed using [psql](https://www.postgresql.org/docs/current/app-psql.html), which is a terminal-based front-end to PostgreSQL.
159
+
The PostgreSQL database can be accessed using [psql](https://www.postgresql.org/docs/current/app-psql.html), a terminal-based front-end to PostgreSQL.
0 commit comments