datasquirel-docs/pages/self-hosting/windows/index.mdx

63 lines
1.8 KiB
Plaintext

---
title: Windows Self Hosting | Datasquirel docs
description: Host Datasquirel on a Windows machine
page_title: Self Hosting on Windows
page_description: Deploy Datasquirel on a Windows machine using Docker Desktop.
---
## Prerequisites
Before installing Datasquirel on Windows you need:
- [Docker Desktop for Windows](https://www.docker.com/products/docker-desktop/) — installed and running
- [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install) (Windows Subsystem for Linux) — required by Docker Desktop
- A terminal application (Windows Terminal, PowerShell, or Git Bash)
## Installation
### 1. Enable WSL 2 and Docker Desktop
Make sure Docker Desktop is running and WSL 2 integration is enabled in Docker Desktop settings under **Resources → WSL Integration**.
### 2. Open a WSL Terminal
Open Windows Terminal and launch a WSL shell (Ubuntu or another distribution):
```bash
wsl
```
### 3. Run the Installer
From inside your WSL shell, run the Datasquirel install script:
```bash
curl https://datasquirel.com/install | bash
```
Follow the prompts to complete the installation. The script will download the Docker Compose stack, configure the environment, and start all services.
### 4. Access the Admin Panel
Once the installation finishes, open your browser and navigate to:
```
http://localhost:7070
```
You will be redirected to the super admin setup page on first launch.
## Updating
To update Datasquirel to a newer version, re-run the install script and follow the prompts:
```bash
curl https://datasquirel.com/install | bash
```
## Notes
- All data is stored in Docker volumes on your Windows machine.
- Stopping Docker Desktop will stop Datasquirel. Start Docker Desktop again and the containers will resume automatically.
- For production use on Windows Server, WSL 2 with Ubuntu is the recommended environment.