Docker Deployment
Deploy OpnForm using Docker
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.
Looking to develop OpnForm locally? Check out our Docker Development Setup guide which provides hot-reload and other development features.
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 Login
After deployment, use these credentials to access the app:
- Email:
admin@opnform.com
- Password:
password
You will be prompted to change your email and password after your first login.
Architecture
Components
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 a docker-compose.override.yml
to customize your deployment:
Maintenance
Updates
-
Pull latest changes:
-
Update containers:
Monitoring
View container logs:
Monitor container health:
Troubleshooting
Container Issues
If containers aren’t starting:
Database Issues
If database connections fail:
Cache Issues
Clear various caches:
Permission Issues
Fix storage permissions: