tacticalrmm/docker
Josh Krawczyk c0edbaeee7 Add inital docker container support 2020-02-12 11:18:43 -05:00
..
api Add inital docker container support 2020-02-12 11:18:43 -05:00
app Add inital docker container support 2020-02-12 11:18:43 -05:00
meshcentral Add inital docker container support 2020-02-12 11:18:43 -05:00
nginx-proxy Add inital docker container support 2020-02-12 11:18:43 -05:00
salt Add inital docker container support 2020-02-12 11:18:43 -05:00
.env.example Add inital docker container support 2020-02-12 11:18:43 -05:00
.gitignore Add inital docker container support 2020-02-12 11:18:43 -05:00
docker-compose.yml Add inital docker container support 2020-02-12 11:18:43 -05:00
readme.md Add inital docker container support 2020-02-12 11:18:43 -05:00

readme.md

Docker Setup

  • install docker and docker-compose
  • Obtain wildcard cert or individual certs for each subdomain

Optional - Generate certificates with certbot

Install Certbot

sudo apt-get install certbot

Generate the wildcard certificate. Add the DNS entry for domain validation.

Copy the fullchain.pem and privkey.pem to the cert directory.

Run the environment with Docker

Change values in .env to match your environment

sudo docker-compose up -d

You may need to run this twice since some of the dependant containers won't be ready

Create a super user

Setup 2FA authentication

Get the 2FA code with

Add the generated code to the .env file TWO_FACTOR_OTP in the docker folder

Rebuild the api container

Use the generated code and the username to generate a bar code for your authenticator app