Documentation below describe how to setup and run application
Prerequirements
Application use docker and docker compose for run. Need to have server with at list of 1Gb RAM,1 CPU and 5Gb free disc space.
Download source code
Download zip file with source code and docker-compose configuration. Unzip file.
First run
Setup run server without internal authentication
This meathod allow to setup access to the application later with Azure AD
- Go to undized folder
- Create .env file with
IP=put_your_server_ip ADM_PASSWORD=put_your_secure_password
- Run VERSION=$(git rev-parse HEAD) docker-compose build nginx-with-front (might take 10-15 mins)
- Run docker-compose up -d (might take 5-10 mins)
- run
docker exec -i envmanager-mongo-1 sh -c 'mongorestore --archive' < db.dump
- run
docker-compose down
- run
docker-compose up -d
- go to the
http://localhost:3002
Setup run server with internal authentication
This method allow to use internal authentication configuration
- Go to undized folder
- Modify docker-compose.yml, uncomment the next line and put your password line 68 # CREATE_DEFAULT_ADMIN: put_here_your_secure_password
- run
docker-compose up -d
and wait until all done - modify docker-compose.yml again, comment the next line line 68 # CREATE_DEFAULT_ADMIN: put_here_your_secure_password
- run
docker exec -i envmanager-mongo-1 sh -c 'mongorestore --archive' < db.dump
- run
docker-compose down
- run
docker-compose up -d
- go to the
http://localhost:3002
- Login with admin@test.com and your password