diff --git a/docker-compose.yml b/docker-compose.yml index c4902f8..a0acdb2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ volumes: driver: local driver_opts: type: 'none' - device: /opt/BeaKer/snapshots + device: /var/BeaKer/snapshots o: bind services: elasticsearch: diff --git a/installer/stage/BeaKer/install_beaker.sh b/installer/stage/BeaKer/install_beaker.sh index 75d7c23..3037598 100755 --- a/installer/stage/BeaKer/install_beaker.sh +++ b/installer/stage/BeaKer/install_beaker.sh @@ -177,10 +177,10 @@ EOF ensure_snapshot_repo_exists() { # Create snapshot folder if it doesn't exist - if [ ! -d "/opt/BeaKer/snapshots" ]; then - $SUDO mkdir "/opt/BeaKer/snapshots" + if [ ! -d "/var/BeaKer/snapshots" ]; then + $SUDO mkdir -p "/var/BeaKer/snapshots" fi - $SUDO chmod 777 /opt/BeaKer/snapshots + $SUDO chmod 777 /var/BeaKer/snapshots } require_aih_web_server_listening () {