Created
September 27, 2024 09:12
-
-
Save andypost/44d7d64877c3b4126e53c6205ad26bae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
php: | |
# image: skilldlabs/php:83-unit-dev | |
image: skilldlabs/php:84-unit-dev | |
# command: unitd --no-daemon --user web-user --group web-group --log /dev/stdout | |
container_name: core | |
restart: always | |
working_dir: /var/www/html | |
volumes: | |
- ./:/var/www/html | |
environment: | |
CADDY_SERVER_EXTRA_DIRECTIVES: 'root * /var/www/html' | |
PHP_IDE_CONFIG: serverName=server_name | |
COMPOSER_CACHE_DIR: /home/web-user/.composer/cache | |
# MINK_DRIVER_ARGS_WEBDRIVER: '["firefox", {"browserName":"firefox", "w3c": true, "moz:firefoxOptions":{"args":["--headless"]}}, "http://172.30.1.3:4444"]' | |
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome", "goog:chromeOptions":{"w3c": true, "args":["--no-sandbox","--ignore-certificate-errors", "--allow-insecure-localhost", "--disable-dev-shm-usage", "--headless", "--dns-prefetch-disable"]}}, "http://chrome:4444"]' | |
SIMPLETEST_BASE_URL: http://172.30.1.2 | |
SIMPLETEST_DB: sqlite://./db/tests.db | |
IDE_PHPUNIT_CUSTOM_LOADER: vendor/autoload.php | |
# BROWSERTEST_OUTPUT_DIRECTORY: sites/simpletest | |
networks: | |
front: | |
ipv4_address: 172.30.1.2 | |
chrome: | |
# image: drupalci/webdriver-chromedriver:production | |
image: zenika/alpine-chrome:with-chromedriver | |
# image: selenium/standalone-firefox | |
container_name: "chrome" | |
shm_size: 2gb | |
ulimits: | |
core: | |
soft: -1 | |
hard: -1 | |
cap_add: | |
- SYS_ADMIN | |
# volumes: | |
# - /dev/shm:/dev/shm | |
ports: | |
- "4444:4444" | |
entrypoint: | |
- chromedriver | |
- "--port=4444" | |
- "--no-sandbox" | |
- "--allowed-ips=" | |
- "--allowed-origins=*" | |
## - "--log-level=WARNING" | |
## - "--log-path=/tmp/chromedriver.log" | |
## - "--log-level=INFO" | |
## - "--verbose" | |
networks: | |
front: | |
ipv4_address: 172.30.1.3 | |
networks: | |
front: | |
driver: bridge | |
ipam: | |
driver: default | |
config: | |
- subnet: "172.30.1.0/24" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment