|
| 1 | +--- |
| 2 | +sidebar_position: 6 |
| 3 | +--- |
| 4 | + |
| 5 | +# On-Premise Business |
| 6 | + |
| 7 | +**On-Premise Business** is our paid plan that provides access to advanced features and extensions for self-hosted solidtime instances. |
| 8 | + |
| 9 | +To learn more about the On-Premise Business plan and see detailed pricing information, please visit our [pricing page](https://www.solidtime.io/pricing). |
| 10 | + |
| 11 | +## Getting Started |
| 12 | + |
| 13 | +Once you subscribe to the On-Premise Business plan, you'll receive an email with the following license information: |
| 14 | + |
| 15 | +1. Docker registry |
| 16 | +2. Username |
| 17 | +3. Password |
| 18 | + |
| 19 | +## Upgrading an existing Instance |
| 20 | + |
| 21 | +If you already have a solidtime instance running, you can upgrade it to On-Premise Business. |
| 22 | + |
| 23 | +:::warning |
| 24 | + |
| 25 | +We highly recommend making a backup of your data before proceeding. |
| 26 | + |
| 27 | +::: |
| 28 | + |
| 29 | + |
| 30 | +### 1. Login to the private registry |
| 31 | + |
| 32 | +First, you need log into the private registry by running the following command on the host machine: |
| 33 | + |
| 34 | +```bash |
| 35 | +docker login registry.on-premise.solidtime.io |
| 36 | +``` |
| 37 | + |
| 38 | +You will be asked to provide a **Username** and **Password**, which are included in the license information mail. |
| 39 | + |
| 40 | +### 2. Upgrade Docker images |
| 41 | + |
| 42 | +Now, we have to change the images from the [public registry](https://hub.docker.com/r/solidtime/solidtime) to the private one in the `docker-compose.yml` for the services **app, scheduler and queue**. |
| 43 | + |
| 44 | +`solidtime/solidtime` -> `registry.on-premise.solidtime.io/solidtime/solidtime` |
| 45 | + |
| 46 | +After doing that the image attributes in your `docker-compose.yml` for **app, scheduler and queue** should look something like this: |
| 47 | + |
| 48 | +```yaml |
| 49 | +services: |
| 50 | + app: |
| 51 | + // highlight-next-line |
| 52 | + image: "registry.on-premise.solidtime.io/solidtime/solidtime:${SOLIDTIME_IMAGE_TAG:-latest}" |
| 53 | + # more config... |
| 54 | + |
| 55 | + scheduler: |
| 56 | + // highlight-next-line |
| 57 | + image: "registry.on-premise.solidtime.io/solidtime/solidtime:${SOLIDTIME_IMAGE_TAG:-latest}" |
| 58 | + # more config... |
| 59 | + |
| 60 | + queue: |
| 61 | + // highlight-next-line |
| 62 | + image: "registry.on-premise.solidtime.io/solidtime/solidtime:${SOLIDTIME_IMAGE_TAG:-latest}" |
| 63 | + # more config... |
| 64 | +``` |
| 65 | + |
| 66 | +### 3. Restart the services |
| 67 | + |
| 68 | +After changing the config we need to pull the new images and restart the services. |
| 69 | + |
| 70 | +```bash |
| 71 | +docker compose pull |
| 72 | +docker compose up -d |
| 73 | +``` |
| 74 | + |
| 75 | +### 4. Run database migrations |
| 76 | + |
| 77 | +The On-Premise Business Features have additional database tables, so in order to apply the migrations, run the following command: |
| 78 | + |
| 79 | +```bash |
| 80 | +docker compose exec scheduler php artisan migrate --force |
| 81 | +``` |
| 82 | + |
| 83 | +### 5. All done! |
| 84 | + |
| 85 | +solidtime should now run with all additional features of the On-Premise Business plan. If you run into any issues, please contact us at [hello@solidtime.io](mailto:hello@solidtime.io). |
| 86 | + |
| 87 | +## Questions? |
| 88 | + |
| 89 | +If you have questions about the On-Premise Business plan or need help getting started, please: |
| 90 | + |
| 91 | +- Visit our [pricing page](https://www.solidtime.io/pricing) for detailed information |
| 92 | +- Contact us at [hello@solidtime.io](mailto:hello@solidtime.io?subject=On-Premise%20Business%20Inquiry) |
| 93 | +- Join our [Discord server](https://discord.gg/Wd7pNH5S64) for community support |
0 commit comments