1.3 KiB
1.3 KiB
Project Deployment
Overview
This repository contains the Docker Compose configuration and deployment files for the Loop server.
Quick Start
1. Clone the Repository
git clone https://git.wilix.dev/wilix-infra/loop-onprem-docker.git
cd loop-onprem-docker
2. Environment Configuration
cp .env.example .env
Edit the .env file with your specific configuration values.
3. Start the Services
docker-compose up -d
4. Verify Deployment
docker-compose ps
docker-compose logs -f [service-name]
Useful Commands
| Action | Command |
|---|---|
| Start services | docker-compose up -d |
| Stop services | docker-compose down |
| View logs | docker-compose logs -f |
| Restart services | docker-compose restart |
Environment Variables
| Variable | Description | Required |
|---|---|---|
APP_ENV |
Application environment | Yes |
APP_PORT |
Port the app runs on | Yes |
DB_PASSWORD |
Database password | Yes |
SECRET_KEY |
Application secret key | Yes |
Troubleshooting
- Port conflicts: Change
APP_PORTin.envfile - Database errors: Check
DB_PASSWORDis correct - View service logs:
docker-compose logs [service_name]
License
[License type] - See LICENSE file for details.