https://github.com/salabs/epimetheus
Frontend for your test results
https://github.com/salabs/epimetheus
test-reporting test-results test-visualization
Last synced: 7 months ago
JSON representation
Frontend for your test results
- Host: GitHub
- URL: https://github.com/salabs/epimetheus
- Owner: salabs
- License: apache-2.0
- Created: 2020-01-17T08:35:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-14T22:05:36.000Z (over 2 years ago)
- Last Synced: 2025-05-07T03:47:12.716Z (9 months ago)
- Topics: test-reporting, test-results, test-visualization
- Language: JavaScript
- Homepage: https://testmanagerfront.azurewebsites.net/
- Size: 3.29 MB
- Stars: 19
- Watchers: 8
- Forks: 2
- Open Issues: 44
-
Metadata Files:
- Readme: README-docker.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Docker setup
Alternative way to run project is using docker-compose with provided configuration files.
### Docker environmental variables
Project uses following variables to access database:
```dosini
DATABASE=database_name
HOST=database_server_name
USER=database_user
PASSWORD=database_password
PORT=backend_server_port
```
These can be saved to .env file.
Alternative way is to save these in docker-compose.yml file.
### Running docker-compose
In Windows 10 powershell, you can command docker-compose with the following syntax:
`$env:ENV_FILE="configfile.env"; docker-compose -f .\docker-compose.yml up --build`
Frontend runs on: [http://localhost:3000](http://localhost:3000/)
### Configuring Nginx running port and backend server url in Dockerfile-prod
[Dockerfile-prod](./frontend/Dockerfile-prod) has two build arguments; `nginx_port` and `backend_url` with default values `8080` and `http://backend-server:5000`.
The `nginx_port` argument configures the port which the Ngnix service runs inside the Docker and the `backend_url` argument tells the Nginx service
where to route backend server requests. These arguments can be configured when building the Docker image.
### Running docker-compose with public images
There are also prebuilt images that you can use by running the command. The yml files for different deployments are located under the deployment-templates folder.
`$env:ENV_FILE="configfile.env"; docker-compose -f .\docker-compose-from-remote.yml up --build`
Note that currently the public images are built with the default arguments as defined in the chapter before.