Skip to content

Commit

Permalink
use host network mode for chrome server image
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Aug 8, 2024
1 parent 6050491 commit d40389d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ gem 'net-http', '~> 0.3.2'

# Multi-Provider Authentication
gem 'omniauth'
gem 'omniauth-rails_csrf_protection'
gem 'omniauth-github'
gem 'omniauth-google-oauth2'
gem 'omniauth-keycloak'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ GEM
PLATFORMS
x86_64-darwin-23
x86_64-linux
x86_64-linux-gnu
x86_64-linux
x86_64-linux-musl

DEPENDENCIES
Expand Down Expand Up @@ -626,4 +626,4 @@ DEPENDENCIES
will_paginate (~> 3.0)

BUNDLED WITH
2.4.22
2.3.23
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ services:
chrome-server:
image: selenium/standalone-chrome:112.0-chromedriver-112.0-grid-4.9.0-20230421
shm_size: 2g
ports:
- "4444:4444"
- "7900:7900"
network_mode: 'host'
# ports:
# - "4444:4444"
# - "7900:7900"

volumes:
mysql-data:
Expand Down

0 comments on commit d40389d

Please sign in to comment.