Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salabs/epimetheus
Frontend for your test results
https://github.com/salabs/epimetheus
test-reporting test-results test-visualization
Last synced: about 9 hours 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T06:25:43.000Z (about 2 years ago)
- Last Synced: 2023-03-06T19:18:30.582Z (over 1 year ago)
- Topics: test-reporting, test-results, test-visualization
- Language: JavaScript
- Homepage: https://testmanagerfront.azurewebsites.net/
- Size: 3.29 MB
- Stars: 18
- Watchers: 9
- Forks: 2
- Open Issues: 42
-
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.