Skip to content
Snippets Groups Projects
Commit 07ef8787 authored by Matej Vavrek's avatar Matej Vavrek
Browse files

Merge branch 'add-adminer-to-docker' into 'Milestone-2'

Added adminer into the docker compose.

See merge request !41
parents dd86dc9b 0ff081d7
No related branches found
No related tags found
2 merge requests!46Milestone-2,!41Added adminer into the docker compose.
Pipeline #
......@@ -91,6 +91,23 @@ Use <code>[http://localhost:5173/](http://localhost:5173/)</code> for the MVC pr
**MVC**
Once the application is running, you can access it in your browser by navigating to <code>[http://localhost:5266](http://localhost:5266)</code>
### Previewing content in the database
For certain scenarios, such as checking the audit log information, you may need to step into the database
and check a specific table on your own. For these use cases, we have provided the ``Adminer`` tool in the docker compose.
You may access adminer by going to <code>[http://localhost:8080](http://localhost:8080)</code>.
If you are using the default development-only settings, you should input these values into the login form:
System = MS SQL (beta)
Server = db
Username = SA
Password = Example123
Database = master
After pressing Login, you should be presented with a simple view of the database, navigable by pressing
the different links found within the screen. You may also use all sorts of SQL queries to retrieve data
of interest from the database.
### Logging
Logging will be performed into an Elasticsearch container. If you have used the default settings, you may use <code>[http://localhost:9200/_cat/indices](http://localhost:9200/_cat/indices)</code> to find the index of the application logs, which should start with the name of application - **biterate**. Once you have found the name of the index (biterate-logs-{year}.{month}.{day}), you can use <code>htpp://localhost:9200/index_name/_search?pretty=true</code> where ``index_name`` is replaced with the name of the biterate-logs index, to see the logs in your browser.
......
......@@ -9,6 +9,13 @@ services:
ports:
- "1433:1433"
adminer:
image: adminer
container_name: adminer
restart: always
ports:
- "8080:8080"
log-db:
container_name: elastic-search
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment