|
| 1 | +# Docker Compose |
| 2 | + |
| 3 | +To quickly get started with your own installation you can use one of these docker-compose files. |
| 4 | +download the file you want ( you can rename the file to docker-compose.yaml or use -f to specify the file ) |
| 5 | + |
| 6 | +[docker-compose-traefik.yml](https://github.com/open-rpa/openflow/blob/master/docker-compose-traefik.yml) is for people running docker ce/docker desktop or docker swarm |
| 7 | + |
| 8 | +[docker-compose-toolbox.yml](https://github.com/open-rpa/openflow/blob/master/docker-compose-toolbox.yml) is for people running [docker toolbox](https://docs.docker.com/toolbox/toolbox_install_windows/) |
| 9 | + |
| 10 | +[docker-compose.yml](https://github.com/open-rpa/openflow/blob/master/docker-compose.yml) is for developers who don't want to install [mongoDB](https://www.mongodb.com/download-center/community)/[RabbitMQ](https://www.rabbitmq.com/download.html) or an easy way to run one instance while debugging the other. |
| 11 | + |
| 12 | +open a shell and cd to that folder you downloaded the file to, and type |
| 13 | + |
| 14 | +```bash |
| 15 | +docker-compose up |
| 16 | +``` |
| 17 | + |
| 18 | +Say you downloaded docker-compose-traefik.yml and you want to set your own project name. |
| 19 | + |
| 20 | +```bash |
| 21 | +docker-compose -f docker-compose-traefik.yml -p demo up |
| 22 | +``` |
| 23 | + |
| 24 | +This will be the basis for everything else you do, for instance, if you need to update the images to the latest version, you would then use |
| 25 | + |
| 26 | +```bash |
| 27 | +docker-compose -f docker-compose-traefik.yml -p demo pull |
| 28 | +``` |
| 29 | + |
| 30 | +Then you can access the API/web on [http://localhost.openiap.io](http://localhost.openiap.io) ( or [http://toolbox.openiap.io](http://toolbox.openiap.io) ) |
| 31 | +You can access nodered on [http://nodered1.localhost.openiap.io](http://nodered1.localhost.openiap.io) ( or [http://nodered1.toolbox.openiap.io](http://nodered1.toolbox.openiap.io) ) |
| 32 | +and RabbitMQ on [http://mq.localhost.openiap.io](http://mq.localhost.openiap.io) ( or [http://mq.toolbox.openiap.io](http://mq.toolbox.openiap.io) ) |
| 33 | + |
| 34 | +The first username and password you try to login as, will be created and made admin. This **cannot** be admin, root or other common administrate account names. |
| 35 | + |
| 36 | +For almost everyone, you will want to start with docker-compose-traefik.yml |
| 37 | +This gives you a good starting point for testing it on your local machine, and play around with the settings. Once you understand how it works, and you know how to change the domain names it responds too, then you can push this to a server locally or to some cloud provider. If you have a public IP for the solution you can also have a look at docker-compose-traefik-letsencrypt.yml for a guide on how to use Lets Encrypt for certificates. |
| 38 | +For more complex setups where you don't have public IP or just need access to wildcard certificates there is also an example on how to request Lets Encrypt certificates using DNS01 in the docker-compose-traefik-letsencrypt-dns01.yml file. |
| 39 | + |
| 40 | +For questions or help, feel free to join the community on the [forum](https://bb.openiap.io) or [rocket chat](https://rocket.openiap.io). |
| 41 | + |
| 42 | +For help with running on [kubernetes](kubernetes) or self hosting, feel free to contact [OpenIAP](https://openiap.io/) for a commercial support options. |
0 commit comments