Create a ticket
Sign in Sign up
Locker support Locker support
Results

No results found.

Home Locker Secrets Manager Developer tools Installation docs Deployments guides docker-compose
Vietnamese English
docker-compose

Running all Locker secrets components at once

Create a folder for Locker secrets deployment

mkdir locker_secrets && cd locker_secrets

Write a docker-compose.yml file with the following content, set the appropriate values for Locker secrets domain, MySQL passwords, Nginx API port and Nginx web port

services:
  web:
    image: cystack/locker-secrets-web
		environment:
      REACT_APP_API_URL: "https://locker_secrets_domain"
      REACT_APP_WS_URL: "wss://locker_secrets_domain/ws/sync"
    depends_on:
      nginx:
        condition: service_started
  api:
    image: cystack/locker-secrets-api
    environment:
      PROD_ENV: "prod"
      DJANGO_SECRET_KEY: "

Create a folder named conf and a file default.conf inside that folder

mkdir conf && touch conf/default.conf

Content of default.conf

server {
    listen       

Create a folder named ssl and move your cert file and key file to it, then start all services at once

docker-compose up -d

Now you can access https://your_domain_or_ip:web_port to see Locker secrets Web GUI

Was this page helpful?
No
Yes
Join Our Community