diff options
| author | Fuwn <[email protected]> | 2021-06-09 18:55:30 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-06-09 18:55:30 -0700 |
| commit | 8c4a022f0ae98a32de4cd1871f80cdbb086b4e7e (patch) | |
| tree | 951eb90bdd548caf4c6a56733712c3b902e2c270 /docker-compose.yml | |
| parent | feat(cli): create `.whirl` directory and log (diff) | |
| download | whirl-8c4a022f0ae98a32de4cd1871f80cdbb086b4e7e.tar.xz whirl-8c4a022f0ae98a32de4cd1871f80cdbb086b4e7e.zip | |
feat(docker): expose .whirl directory to host as a volume
Previously, Whirl would grab the default configuration data from the the `Default` trait of
`Config`, this means that the configuration of a Docker container could not be modified. As well,
the database would be reset upon the restart of the Docker container... This solution introduces a
shared Volume directory with the label `.whirl-data` which acts as a means of persistant data
storage for Whirl.
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 0ff6de5..214dcf8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,3 +7,5 @@ services: - '5673:5673' container_name: Whirlsplash image: whirlsplash/whirl + volumes: + - ./.whirl-data:/.whirl |