Skip to content

Commit

Permalink
Merge pull request #2 from govlt/docker-envirionment-options
Browse files Browse the repository at this point in the history
Improve documentation about docker environment options
  • Loading branch information
vycius authored Jul 18, 2024
2 parents 475a1dd + 3299e79 commit 429c9fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ services:
Additional docker image environment options:
| Environment Variable | Default Value | Description |
|----------------------|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `SENTRY_DSN` | `` | The DSN for Sentry, used for error tracking and monitoring. Leave empty if Sentry is not used. |
| `SENTRY_ENVIRONMENT` | `"production"` | Specifies the environment for Sentry (e.g., production, staging, development). |
| `ROOT_URL` | `` | The root URL of the application. Only change if the application is mounted below a specific URL path. |
| `WORKERS` | `1` | If you have a cluster of machines with Kubernetes, Docker Swarm, or another similar system, handle replication at the cluster level and keep a single worker per container. |
| Environment Variable | Description | Default Value |
|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
| `SENTRY_DSN` | The DSN for Sentry, used for error tracking and monitoring. Leave empty if Sentry is not used. | |
| `SENTRY_ENVIRONMENT` | Specifies the environment for Sentry (e.g., production, staging, development). | `production` |
| `ROOT_URL` | The root URL of the application. Only change if the application is mounted below a specific URL path. | |
| `WORKERS` | The number of Uvicorn worker processes to run. Adjust based on workload and available resources. If you have a cluster of machines with Kubernetes, Docker Swarm, or another similar system, handle replication at the cluster level and keep a single worker per container. | `1` |

### SQLite Database

Expand Down

0 comments on commit 429c9fb

Please sign in to comment.