The easiest way to get started with OpnForm is through our official managed service in the Cloud. It takes just 1 minute to try out the builder for free, with high availability, backups, security, and maintenance all managed for you.
Quick Start
- Clone the repository:
-
Run the setup script:
The script will:
- Create necessary environment files
- Pull required Docker images
- Start all containers in production mode
- Display access information
-
Access your OpnForm instance at
http://localhost
Initial Setup
After deployment, OpnForm will automatically redirect you to a setup page where you can create your admin account. Simply visithttp://localhost and you’ll be guided through the setup process.
Public registration is disabled in the self-hosted version after setup is
complete. Use the admin account to invite additional users.
Architecture
Components
- Frontend
- Backend
- Workers
- Databases
- Proxy
The Nuxt frontend service: - Server-Side Rendered application - Built
with Vue 3 and Tailwind CSS - Handles dynamic rendering and client-side
interactivity - Optimized for production performance
Docker Images
OpnForm provides pre-built Docker images for easy deployment:Building Custom Images
While we recommend using the official images, you can build custom images if needed:Custom Configuration
Create adocker-compose.override.yml to customize your deployment:
Environment Variables
For detailed information about environment variables and how to update them in Docker, see our Environment Variables documentation.Maintenance
Updates
-
Pull latest changes:
-
Update containers:
Monitoring
View container logs:Troubleshooting
Container Issues
If containers aren’t starting:Database Issues
If database connections fail:Line Ending Issue: When using Git or code editors on Windows, line
endings in the
artisan script may be converted from LF (Unix-style) to
CRLF (Windows-style). This prevents the Docker container from properly
executing the script, causing it to hang at “Waiting for DB to be ready”.
Always ensure script files maintain LF line endings.