1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-22 22:39:36 +02:00

Fix formatting in README.md for backend container configuration options

This commit is contained in:
Sean Morley 2024-11-08 17:53:46 -05:00
parent 6132b1c0d6
commit 742cb9dd94

View file

@ -59,7 +59,7 @@ Here is a summary of the configuration options available in the `docker-compose.
### Backend Container (server) ### Backend Container (server)
| Name | Required | Description | Default Value | | Name | Required | Description | Default Value |
| ----------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | | ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
| `PGHOST` | Yes | Databse host. | db | | `PGHOST` | Yes | Databse host. | db |
| `PGDATABASE` | Yes | Database. | database | | `PGDATABASE` | Yes | Database. | database |
| `PGUSER` | Yes | Database user. | adventure | | `PGUSER` | Yes | Database user. | adventure |
@ -69,7 +69,7 @@ Here is a summary of the configuration options available in the `docker-compose.
| `DJANGO_ADMIN_EMAIL` | Yes | Default user's email. | admin@example.com | | `DJANGO_ADMIN_EMAIL` | Yes | Default user's email. | admin@example.com |
| `PUBLIC_URL` | Yes | This needs to match the outward port of the server and be accessible from where the app is used. It is used for the creation of image urls. | 'http://localhost:8016' | | `PUBLIC_URL` | Yes | This needs to match the outward port of the server and be accessible from where the app is used. It is used for the creation of image urls. | 'http://localhost:8016' |
| `CSRF_TRUSTED_ORIGINS` | Yes | Need to be changed to the orgins where you use your backend server and frontend. These values are comma seperated. | http://localhost:8016 | | `CSRF_TRUSTED_ORIGINS` | Yes | Need to be changed to the orgins where you use your backend server and frontend. These values are comma seperated. | http://localhost:8016 |
| `FRONTEND_URL` | Yes | This is the publically accessible url to the **frontend** container. This link should be accessable for all users. Used for email generation. | 'http://localhost:8015' | | `FRONTEND_URL` | Yes | This is the publicly accessible url to the **frontend** container. This link should be accessible for all users. Used for email generation. | 'http://localhost:8015' |
## Running the Containers ## Running the Containers