Docker Setup
MagicSync can be easily set up using Docker Compose.
Prerequisites
- Docker
- Docker Compose
Setup Instructions
Clone the repository
bashgit clone <repository-url> cd production-example-nuxt-monorepoEnvironment Variables Copy
.env-exampleto.envand fill in the required values.bashcp .env-example .envStart the containers Run the following command to start the development environment:
bashdocker-compose up -dThis will start the database, application, and other necessary services.
Access the application
- App:
http://localhost:3000(or configured port) - Documentation:
http://localhost:3001(if running)
- App:
Services
- App: The main Nuxt application.
- Database: PostgreSQL/Turso (check
docker-compose.yml). - Redis: For queue management (if used).