artefactual-labs / am

Development environment for Archivematica
https://archivematica.org
GNU Affero General Public License v3.0
10 stars 20 forks source link

Compose: move named volumes to homedir #65

Closed sevein closed 6 years ago

sevein commented 6 years ago

This PR changes the default locations of the named external volumes am-pipeline-data and ss-location-data in our Compose development environment. We used to have them under /tmp which was problematic for different reasons, e.g. permission errors in Docker for Mac, lack of persistency, etc...

The new locations are:

Once this is merged, you need to tell Docker that you want to remove the old volumes:

docker volume rm am-pipeline-data
docker volume rm ss-location-data

Then create them again with:

make create-volumes

And confirm that they've been created properly with:

docker volume inspect --format "{{ .Options.device }}" am-pipeline-data
docker volume inspect --format "{{ .Options.device }}" ss-location-data

CC @ablwr - I've added you as a member of this org but you need to accept the invitation.

Related issues:

ablwr commented 6 years ago

Ahh, great!