-
Notifications
You must be signed in to change notification settings - Fork 354
Expand file tree
/
Copy pathcompose.yml
More file actions
41 lines (39 loc) · 958 Bytes
/
compose.yml
File metadata and controls
41 lines (39 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Set up the Selenium container based on the Selenium official:
# https://github.com/SeleniumHQ/docker-selenium/blob/trunk/docker-compose-v3.yml
# And:
# https://medium.com/@retrorubies/chrome-as-a-service-for-rails-testing-b1a45e70fec1
services:
web:
image: lenchoreyes/jade:rails-app-${RUBY_VERSION:-4.0}-sqlite-trixie
stdin_open: true
tty: true
user: "dev:dev"
volumes:
- .:/home/dev/app
- dev_home:/home/dev
environment:
- SELENIUM_HOST=selenium
- SELENIUM_PORT=4444
- TEST_APP_HOST=web
- TEST_APP_PORT=3001
ports:
- "3000"
- "3001"
- "5990"
command: /bin/bash
selenium:
image: selenium/standalone-chrome:133.0
shm_size: 2gb
logging:
driver: none
stdin_open: true
tty: true
environment:
- LANG=en_CA.UTF-8
- LANGUAGE=en_CA.UTF-8
- LANG_WHERE=CA
- LANG_WHICH=en
ports:
- "7900"
volumes:
dev_home: