How to deploy the wolkenkit digital ocean app?

I am currently working on a project using wolkenkit ( https://www.wolkenkit.io/ ). Everything works fine on my machine (comes with a docker container). Now I want to deploy it into the digital ocean to take it one step further.

There are several lines in the official documentation about the purpose of the docker machine ( https://docs.wolkenkit.io/1.0.1/reference/configuring-an-application/assigning-a-docker-machine/ ).

Are there any guides / tips / tutorials on this subject in more detail suitable for the digital ocean?

+4
source share
2 answers

Disclaimer: I am one of the developers of wolkenkit, so please answer me with a salt.

Basically, it primarily depends on how you created the machine: since you basically need a machine that runs Docker, the easiest way is to use docker-machineto configure it. See the Docker documentation for more on this .

Once you do this, you have two options to continue:

  • docker-machine env DigitalOcean , wolkenkit start, . , DOCKER_HOST, CLI wolkenkit Docker.

  • , wolkenkit package.json, . , , , docker-machine. CLI wolkenkit , , . wolkenkit start --env production, , production.

, . -, . , production, staging, test,... , .

, WOLKENKIT_ENV , default ( CLI).

, : -)

PS: , 1 , . , Docker, , , , .

PPS: , , CLI , ( ). , CLI.

+3

. , package.json. :-). CLI: -)

PS: , ​​ ( >= 0.12.1). .

+1

Source: https://habr.com/ru/post/1681019/


All Articles