-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ignore new SQLite files * docker-compose for Selenium tests
- Loading branch information
Showing
5 changed files
with
93 additions
and
4 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
web: bundle exec bin/rails server -p 3000 -b 0.0.0.0 | ||
web: bundle exec bin/rails server -p ${TEST_APP_PORT:-3000} -b 0.0.0.0 | ||
js: yarn build --watch | ||
css: yarn build:css --watch |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
version: '3.3' | ||
|
||
services: | ||
app: &app | ||
build: | ||
context: . | ||
args: | ||
NODE_MAJOR: "12" | ||
YARN_VERSION: "1.22.4" | ||
RUBY_VERSION: ${RUBY_VERSION} | ||
image: bootstrap-form:latest-$RUBY_VERSION | ||
tmpfs: | ||
- /tmp | ||
|
||
web: | ||
<<: *app | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- .:/app:cached | ||
environment: | ||
- SSH_AUTH_SOCK=/ssh-agent | ||
- NODE_ENV=development | ||
- BOOTSNAP_CACHE_DIR=/usr/local/bundle/_bootsnap | ||
- WEB_CONCURRENCY=1 | ||
- HISTFILE=/app/.bash_history | ||
- RAILS_ENV=test | ||
- SELENIUM_HOST=selenium | ||
- SELENIUM_PORT=4444 | ||
- TEST_APP_HOST=web | ||
- TEST_APP_PORT=3001 | ||
ports: | ||
- "3001:3001" | ||
command: /bin/bash -c "cd demo && bin/dev" | ||
|
||
selenium: | ||
image: selenium/standalone-chrome:118.0 | ||
logging: | ||
driver: none | ||
stdin_open: true | ||
tty: true | ||
ports: | ||
- '4444:4444' | ||
- '5900:5900' |