Docker
OpnForm can be easily set up using Docker. We provide pre-built images on Docker Hub, which is the recommended method for most users.
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.
Prerequisites
- Docker
- Docker Compose
Quick Start
-
Clone the repository:
-
Set up environment files:
-
(Optional) Customize the environment variables:
You can modify two environment files to customize your OpnForm installation:
- The
.env
file in theapi
directory for backend configuration - The
.env
file in theclient
directory for frontend configuration
For more information on available environment variables, please refer to our Environment Variables page.
- The
-
Start the application:
-
Access OpnForm at http://localhost
Initial Login
After installation, 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.
Docker Images
OpnForm provides pre-built Docker images for easy deployment. You can find our official Docker images on Docker Hub:
We recommend using these official images for your OpnForm deployment.
Building Your Own Docker Images
If you prefer to build your own Docker images, you can do so using the provided Dockerfiles in the repository:
-
Build the API image:
-
Build the UI image:
Overriding Docker Compose Configuration
You can override the default Docker Compose configuration by creating a docker-compose.override.yml
file. This allows you to customize various aspects of the deployment without modifying the main docker-compose.yml
file.
Example docker-compose.override.yml
:
Clearing all resources
To completely remove all Docker containers, networks, and volumes created by docker-compose and also remove all images used by these services, you can use the following command: