Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

feat: reorganize Docker files and add Quick Start documentation

Samuel BAGATTINc21f60cfc599
diff --git a/README.md b/README.md
index 6f685347..9a3065a7 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,27 @@ Organize, search, and export your notes with an intuitive interface designed for
![Responsive Design](./frontend/public/screenshots/mock/phone-2.png)
![Responsive Design](./frontend/public/screenshots/mock/phone-3.png)
+## 🐳 Quick Start with Docker
+
+For local testing and development, you can use Docker to run the entire stack:
+
+```bash
+cd docker
+docker compose up -d --build
+```
+
+**Access points:**
+- 🌐 **Frontend**: http://localhost:8200
+- πŸ”Œ **Backend API**: http://localhost:8201
+- πŸ“¦ **MinIO Console**: http://localhost:9001
+- πŸ—„οΈ **MySQL**: localhost:3307 (user: `alexandrie`, password: `password`)
+
+**To stop:**
+```bash
+cd docker
+docker compose down
+```
+
## Contributing 🌍
This project has an MIT license. And you are welcome to contribute.
diff --git a/docker-compose.yml b/docker/docker-compose.yml
similarity index 97%
rename from docker-compose.yml
rename to docker/docker-compose.yml
index e19e1d40..562f71d4 100644
--- a/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -46,7 +46,7 @@ services:
# Alexandrie Backend
backend:
build:
- context: ./backend
+ context: ../backend
dockerfile: ../docker/backend/Dockerfile
container_name: alexandrie-backend
environment:
@@ -91,7 +91,7 @@ services:
# Alexandrie Frontend
frontend:
build:
- context: ./frontend
+ context: ../frontend
dockerfile: ../docker/frontend/Dockerfile
container_name: alexandrie-frontend
restart: unless-stopped