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
Copy file name to clipboardExpand all lines: README.md
+9-13Lines changed: 9 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,15 @@ Usage and API documentation currently available within method docstrings. See Py
20
20
21
21
## Run Locally w/ Docker
22
22
23
-
- Copy a `*-docker-compose.yaml` file corresponding to your usage to `docker-compose.yaml`. This file is untracked so feel free to modify as necessary.
24
-
- Check the first comment which will provide best instruction on how to start the service.
23
+
- Copy a `*-docker-compose.yaml` file corresponding to your usage to `docker-compose.yaml`. This file is untracked so feel free to modify as necessary. Idea is to commit anything generic but system/setup dependent should go on 'your' version i.e. local UID/GID, etc.
24
+
- Check the first comment which will provide the best instruction on how to start the service; yes, it is a bit long. Note: Any of the keyword arguments prepended to the `docker-compose` command can be safely moved into a dedicated `.env` and read automatically if they are not evaluated i.e. `$(...)`. Below is a brief description of the non-evaluated environment variables:
AS_SCRIPT= # If 'TRUE', will not keep container alive but run tests and exit
31
+
```
25
32
26
33
> ⚠️ Deployment options currently being considered are [Docker Compose](https://docs.docker.com/compose/install/) and [Kubernetes](https://kubernetes.io/docs/tutorials/kubernetes-basics/).
27
34
@@ -31,17 +38,6 @@ Usage and API documentation currently available within method docstrings. See Py
31
38
- For development, use CLI command `pharus`. This method supports hot-reloading so probably best coupled with `pip install -e ...`.
32
39
- For production, use `gunicorn --bind 0.0.0.0:${PHARUS_PORT} pharus.server:app`.
AS_SCRIPT= # If 'TRUE', will not keep container alive but run tests and exit
42
-
```
43
-
- Navigate to `test-docker-compose.yaml` and check first comment which will provide best instruction on how to start the service. Yes, the command is a bit long...
0 commit comments