You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/3-Deploy-to-Kool-Cloud/1-Getting-Started.md
+16-12Lines changed: 16 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,30 @@
1
-
The Kool Cloud supports a wide range of features designed to suit your needs for deploying dockerized web applications. It supports features such as persisting folders across deployments, running daemons as extra containers, scheduling commands like cron jobs, adding hooks for before and after deployment, viewing running container logs, accessing the running container interactively, and much more.
1
+
The [Kool Cloud](https://kool.dev/cloud) supports a wide range of features designed to suit your needs for deploying containerized web applications. It supports features such as **persisting folders** across deployments, running **daemons** as extra containers, scheduling commands like **cron jobs**, adding **hooks to run before or after** deployment, **viewing logs** of running container, accessing the running container **interactively**, and much more.
2
2
3
-
The Deploy API was designed with the best developer experience in mind for deploying containers to the cloud. By leveraging your existing local environment structure in `docker-compose.yml` and adding a sane and intuitive configuration layer that will feel familiar from the first contact, our goal is to provide a best-in-class offering for cloud platform engineering. This platform allows you to leverage Kubernetes and orchestrate your web applications in the cloud without all the hassle.
3
+
The Kool.dev Cloud API was designed with the best developer experience in mind for deploying containers to the cloud. By leveraging your existing local environment structure in `docker-compose.yml` and adding a sane and intuitive configuration layer that will feel familiar from the first sight, our goal is to provide a best-in-class offering for cloud platform engineering. This platform allows you to leverage Kubernetes and orchestrate your web applications in the cloud without all the hassle.
4
4
5
-
**kool cloud** is a CLI suite of commands that allows you to configure, deploy, access, and tail logs from the applications to Kool Cloud via the Deploy API.
5
+
> **Enterprise**: you can use Kool.dev Cloud to deploy workloads to your own cloud vendor to keep things compliant - [contact us](mailto:[email protected]) for **"Bring your Own Cloud"** offer.
6
+
7
+
**kool cloud** is the CLI suite of commands that allows you to configure, deploy, access, and tail logs from the applications to the cloud via the Kool.dev Cloud API.
6
8
7
9
## Deploy Docker Compose-based, containerized apps in just a few simple steps
8
10
9
-
1. Sign up for Kool Cloud and get your access token.
10
-
- Make sure your `.env` file contains two entries for configuring your deployment:
11
-
- `KOOL_API_TOKEN` - the Deploy API access token you get from the kool.dev web panel.
12
-
1. Configure your deployment with files straight in your application root folder
13
-
- `kool.deploy.yml` - a "mirror" of your `docker-compose.yml` file, with extra pieces of data for your cloud deployment.
11
+
1.[Sign up for Kool Cloud](https://kool.dev/register) and get your access token.
12
+
- You can store your token in your `.env` file if you are using one:
13
+
- `echo "KOOL_API_TOKEN=<my-token>" >> .env`
14
+
- Or you can store your token in a real environment variable:
15
+
- `export KOOL_API_TOKEN="<my token>"`
16
+
1. Configure your deployment with files directly in your application root folder. For that you can use [`kool cloud setup`](TODO:cloud-setup) to help guide you creating the following files:
17
+
- `kool.deploy.yml` - a "mirror" of your `docker-compose.yml` file, with extra pieces of data for customizing your cloud deployment.
14
18
- `Dockerfile` - usually, you are going to need to build your app for deployment if you haven't already.
15
-
- Make sure you set up the necessary environment variables for your app to run in the cloud.
19
+
- Make sure you set up the necessary [environment variables](TODO:envs) for your app to run in the cloud.
16
20
1. Deploy your application
17
-
- Run `kool cloud deploy` - this will validate and deploy your application.
21
+
- Run `kool cloud deploy --domain=<your domain>` - this will validate and deploy your application.
18
22
- Wait for it to finish and then access the provided deployment URL!
19
23
1. Doing more
20
24
- **View logs**
21
25
- `kool cloud logs` - you can check the logs of your deployed containers.
22
-
- **Access cloud containers**
23
-
- `kool cloud exec` - you can execute commands, including interactive TTY sessions, within your cloud-deployed containers.
26
+
- **Access running containers (like SSH-ing in)**
27
+
- `kool cloud exec` - you can execute commands, including interactive TTY sessions, within your cloud-deployed containers. For example: `kool cloud exec app bash` to open a bash in my running container in the cloud.
0 commit comments