Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for PERSIST_DIR to grist-local-testing README #1165

Merged
merged 2 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docker-compose-examples/grist-local-testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,11 @@ See https://support.getgrist.com/self-managed for more information.

## How to run this example

This example can be run with `docker compose up`.
To run this example, change to the directory containing this example, and run:
```sh
docker compose up
```
Then you should be able to visit your local Grist instance at <http://localhost:8484>.

This will start an instance that stores its documents and files in the `persist/` subdirectory.
You can change this location using the `PERSIST_DIR` environment variable.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ services:
image: gristlabs/grist:latest
volumes:
# Where to store persistent data, such as documents.
- ${PERSIST_DIR}/grist:/persist
- ${PERSIST_DIR:-./persist}/grist:/persist
ports:
- 8484:8484
Empty file.
Loading