Install with Docker Compose
What is it?
Docker-Compose is a tool to configure your application’s services and also execute Docker applications in lots of containers. You can create and start all your configuration services with only one command.
This installation uses Horusec’s web application linked to your environment using Docker-Compose.
Requirements
Check out the requirements in the Set up section section.
Configuration
Horusec has a configuration file with default options for your enviroment configuration.
- Get the configuration file on Horusec’s repository.
Follow the next steps to configure: Step 1. Clone the repository:
git clone https://github.com/ZupIT/horusec-platform.git
Step 2. Enter the folder you have cloned:
cd horusec-platform
Step 3. Run the command make install
to have all web applications:
make install
Access Horusec’s services
Access the http://localhost:8043 to view the web application screens, showed by Horusec-Manager service.
Teste
For test cases, Horusec gives you a default e-mail and a password to access the platform, see below:
email: dev@example.com
password: Devpass0*
If you want to change or disable the default user of the system, check out the tutorial
Images
Horusec’s images are available on Dockerhub. You can check and use them, see below:
- horuszup/horusec-manager
- horuszup/horusec-auth
- horuszup/horusec-core
- horuszup/horusec-api
- horuszup/horusec-analytic
- horuszup/horusec-migration
- horuszup/horusec-vulnerability
- horuszup/horusec-messages (It is a requirement when you are using the e-mail service
- horuszup/horusec-webhook
Reminders
-
All these configurations available on Horusec’s docker-compose.yaml are default. We recommend you change some information (like the user and database password) when using this service in a production environment.
-
Horusec always updates the images and performs corrections to know which image to use in specific versions. Check out the Release Notes to see the correct versions for each service.
-
There is a new policy access to download public Dockerhub images. We recommend you upload images in the register if you want to avoid problems.
-
When you enable the messaging service, it is necessary to connect to your e-mail service. For that, add to “horusec-messages” the following environment variables:
- HORUSEC_SMTP_USERNAME=“e-mail service username”;
- HORUSEC_SMTP_PASSWORD=“e-mail password service”;
- HORUSEC_SMTP_ADDRESS: “e-mail address service”;
- HORUSEC_SMTP_HOST: “e-mail host service”;
- HORUSEC_SMTP_PORT: “e-mail service port”.
Read more
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.