diff --git a/src/assets/docker-compose.yml b/src/assets/docker-compose.yml index f8f7dc0..8463c26 100644 --- a/src/assets/docker-compose.yml +++ b/src/assets/docker-compose.yml @@ -67,7 +67,7 @@ services: ports: - 6379:6379 volumes: - - redisdata:/data + - ./data/redis:/data healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s @@ -225,6 +225,3 @@ networks: name: runtipi_tipi_main_network socket_proxy: name: runtipi_socket_proxy - -volumes: - redisdata: diff --git a/src/utils/system.rs b/src/utils/system.rs index 769e311..9bae55d 100644 --- a/src/utils/system.rs +++ b/src/utils/system.rs @@ -113,6 +113,7 @@ pub fn copy_system_files() -> Result<(), Error> { // Create the base folders fs::create_dir_all(root_folder.join("apps"))?; + fs::create_dir_all(root_folder.join("data"))?; fs::create_dir_all(root_folder.join("app-data"))?; fs::create_dir_all(root_folder.join("state"))?; fs::create_dir_all(root_folder.join("repos"))?;