Skip to content

Commit

Permalink
docker: persist redis data, fixes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
rhiaro authored and michaelwood committed Mar 4, 2021
1 parent 2c50416 commit 6faf77f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,7 @@ dmypy.json
*.swp
*~
node_modules
projects_dir

# Standards Lab build files
projects_dir
_build
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ services:

redis:
image: redis:6.0.10
command: ["redis-server", "--appendonly", "yes"]
volumes:
- ./_build/redis-data:/data
2 changes: 2 additions & 0 deletions docs/developer/core-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ The API provides endpoints primarily for the VueJS application. All responses ar

The processor is responsible for starting, defining and communicating with processing jobs. Each processor implements a `start` function and a `monitor` function.

When you run Standards Lab using docker-compose, the redis queue data is persisted in the `_build/redis-data/` directory.

## Utils

Utility functions that are common to all of the django applications.

0 comments on commit 6faf77f

Please sign in to comment.