Skip to main content

Prerequisites

  • A Dokploy account with access to a server
  • Docker support enabled on your Dokploy instance

Deployment Steps

1

Create or access your project

If you don’t have a project yet, create a new one in Dokploy. Navigate to your project dashboard once created.
2

Create a new service from compose

In your project, create a new service:
  1. Choose Compose as the service type
  2. Set the name to Openinary
  3. Select Docker Compose as the compose type
  4. Click Create
  5. Go to the Advanced tab
  6. Scroll to the Import section
  7. Paste this base64 config:
ewogICJjb21wb3NlIjogInZlcnNpb246IFwiMy44XCJcbnNlcnZpY2VzOlxuICBvcGVuaW5hcnk6XG4gICAgaW1hZ2U6IG9wZW5pbmFyeS9vcGVuaW5hcnk6JHtJTUFHRV9UQUc6LWxhdGVzdH1cbiAgICBwdWxsX3BvbGljeTogYWx3YXlzXG4gICAgcmVzdGFydDogdW5sZXNzLXN0b3BwZWRcbiAgICBleHBvc2U6XG4gICAgICAtIDMwMDBcbiAgICBlbnZpcm9ubWVudDpcbiAgICAgIE5PREVfRU5WOiBwcm9kdWN0aW9uXG4gICAgICBNT0RFOiBmdWxsc3RhY2tcbiAgICAgIE5FWFRfUFVCTElDX0FQSV9CQVNFX1VSTDogJHtORVhUX1BVQkxJQ19BUElfQkFTRV9VUkw6LS9hcGl9XG4gICAgICBCRVRURVJfQVVUSF9TRUNSRVQ6ICR7QkVUVEVSX0FVVEhfU0VDUkVUfVxuICAgICAgQkVUVEVSX0FVVEhfVVJMOiAke0JFVFRFUl9BVVRIX1VSTH1cbiAgICAgIElNQUdFX1RBRzogJHtJTUFHRV9UQUc6LWxhdGVzdH1cbiAgICB2b2x1bWVzOlxuICAgICAgLSBjYWNoZS1kYXRhOi9hcHAvYXBwcy9hcGkvY2FjaGVcbiAgICAgIC0gcHVibGljLWZpbGVzOi9hcHAvYXBwcy9hcGkvcHVibGljXG4gICAgICAtIGRiLWRhdGE6L2FwcC9kYXRhXG4gICAgICAtIGRiLWRhdGE6L2FwcC93ZWItc3RhbmRhbG9uZS9kYXRhXG5cbnZvbHVtZXM6XG4gIGNhY2hl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gXCJvcGVuaW5hcnlcIlxudm9sdW1lTmFtZSA9IFwiZGItZGF0YVwiXG5tb3VudFBhdGggPSBcIi9hcHAvd2ViLXN0YW5kYWxvbmUvZGF0YVwiIgp9
  1. Click Load and Import
The configuration will be automatically imported after validation.
3

Configure environment variables

The environment variables are already pre-configured with placeholders. You’ll see variables like:
IMAGE_TAG=latest
BETTER_AUTH_SECRET=your-sha256-hash-or-long-secret
BETTER_AUTH_URL=your-dokploy-generated-url-or-domain
Make sure the BETTER_AUTH_URL is your base URL (the domain where Openinary will be accessible).
The template is pre-configured for local storage. No additional environment variables are needed.
4

Deploy your application

Once your environment variables are configured:
  1. Navigate to the Environment tab to verify everything is correct
  2. Click the Deploy button
  3. Click Confirm to start the deployment
The first deployment will begin. If everything goes well, you should see this message at the end in the deployment logs:
Docker Compose Deployed: ✅
5

Access your instance

Navigate to the Domains tab and visit the generated URL or your configured custom domain.
6

Initial setup

You should land on the initial setup page where you can create your administrator account.
Important: Create your admin account immediately after deployment, as the setup route is publicly accessible until completed.
After signing in, you should see the sample assets or your bucket content in the Dashboard.
Openinary is now fully configured and ready to use!

Troubleshooting

If you encounter any issues during deployment:
  1. Check the deployment logs in Dokploy for error messages
  2. Verify all environment variables are correctly set
  3. Ensure your domain DNS is properly configured (if using a custom domain)
If problems persist, please create an issue on GitHub with your deployment logs.

Next Steps

Now that your Openinary instance is running, learn how to use it: