Deployments guides
Docker
Install and configure dependencies
MySQL
If you plan to use SQLite, please skip this step.
Nginx
To install Nginx, run the following command:Running the Locker Secrets API
Create a directory to deploy the Locker Secrets API application:.env file with the content below:
api_port and web_socket_port with your custom values:
api in the /etc/nginx/sites-enabled directory with the following content:
https://locker_secrets_api_domain:[nginx_port].
Running the Locker Secrets Web
Create a directory to deploy the Locker Secrets Web application:.env file with the content below:
web_port with a custom value:
web in the /etc/nginx/sites-enabled directory with the following content:
https://locker_secrets_web_domain:[nginx_port].
docker-compose
Run all Locker Secrets components at once
Create a directory to deploy Locker Secrets:docker-compose.yml file with the following content. Make sure you replace values such as Locker Secrets domain, MySQL passwords, Nginx API port, and Nginx web port with the appropriate values:
conf and a default.conf file inside it:
default.conf:
ssl, move your certificate file and key file into it. Then start all services at once:
https://your_domain_or_ip:web_port to view the Locker Secrets Web graphical user interface.