Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service selenium and selenium-chrome not starting #1627

Closed
fqalejandro opened this issue Jan 29, 2025 · 4 comments
Closed

Service selenium and selenium-chrome not starting #1627

fqalejandro opened this issue Jan 29, 2025 · 4 comments

Comments

@fqalejandro
Copy link

Im new at Zabbix Docker Compose, I a've already enable zabbix java gateway by commented the profile section on compose_zabbix_components.yaml. But now, I want to enable the service (container) of selenium and selenium-chrome for web monitoring.
I have Docker Compose version v2.31.0.
How can I enable the service?

@dotneft
Copy link
Collaborator

dotneft commented Jan 30, 2025

You need to use "selenium" profile.

@fqalejandro
Copy link
Author

The solution I found (although I don't know if it's the most optimal) was to comment the profile lines, and with that, the containers started up. I did some research on profiles, but it seems that with my Docker Compose version (2.31.0), they are not compatible or are already deprecated. I tried to reference the profiles, but it gave me an error saying that it couldn't work with them.

depends_on:
- selenium
# profiles:
#- selenium
#- selenium-chrome

Is this correct?

@dotneft
Copy link
Collaborator

dotneft commented Feb 5, 2025

You do not need to comment anything, just using "up" command specify required profile

@fqalejandro
Copy link
Author

Ok, my goal was to use only docker-compose up -d so that I wouldn't need to use profiles. I know the containers will start automatically.

@dotneft dotneft closed this as completed Feb 10, 2025
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

No branches or pull requests

2 participants