Skip to content

Add portainer as part of docker compose to fetch logs#2691

Open
hectorfloresflores wants to merge 4 commits intomasterfrom
task/hector/portainer
Open

Add portainer as part of docker compose to fetch logs#2691
hectorfloresflores wants to merge 4 commits intomasterfrom
task/hector/portainer

Conversation

@hectorfloresflores
Copy link
Copy Markdown
Collaborator

##GithubTaskNumber

Description what actually was done in task:
Add Portainer to check the logs for docker containers and docker proxy to prevent users to remove, pause and restart containers.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 4, 2025

Gradle Unit and Integration Test Results

497 tests  ±0   495 ✔️ ±0   38s ⏱️ -1s
113 suites ±0       2 💤 ±0 
113 files   ±0       0 ±0 

Results for commit 22f671d. ± Comparison against base commit 6a402ac.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 6, 2025

Comment thread README.md
We use [portainer-ce](https://hub.docker.com/r/portainer/portainer-ce) as container management platform. For now, we only support read-only mode since the main purpose of using portainer it is to fetch the logs with the ability to log in with basic auth.
Since portainer-ce does not have the ability to assign read-only permissions to user, we have deployed a proxy docker container called **docker_socket_proxy** and the actual docker portainer called **portainer_readonly**. For more info please go to [docker-compose.yml](./docker-compose-run.yml) file.
The container will be deployed on port **9001** and you can access it on http://brainup.site:9001/. Please contact admin for credentials.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can add here dev read-only user creds for reading logs?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

…y to prevent users to remove, pause and restart containers.
@github-actions
Copy link
Copy Markdown

Frontend test coverage: 45.59%

🤷‍♂️ Did not change

@github-actions
Copy link
Copy Markdown

Frontend test coverage: 45.59%

🤷‍♂️ Did not change

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants