Skip to content

Commit

Permalink
fix build test compose
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsiaw committed May 26, 2024
1 parent 55078dd commit e5f8b12
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .circleci/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ services:
depends_on:
- db
- redis
deploy:
restart_policy:
condition: any
delay: 5s
max_attempts: 3
window: 120s

# Rails server
# This is the main server.
Expand All @@ -47,8 +41,6 @@ services:
build: ..
container_name: rails
command: sh -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
ports:
- "3000:3000"
environment:
DATABASE_URL: postgres://postgres:postgres@db
REDIS_URL: redis://redis:6379/0
Expand All @@ -66,8 +58,11 @@ services:
chrome:
image: selenium/standalone-chrome-debug
container_name: chrome
ports:
- "5900:5900"
healthcheck:
test: ["CMD", "curl", "-v", "http://localhost:4444/wd/hub/status"]
interval: 10s
timeout: 5s
retries: 3
volumes:
db_data:
active_storage:

0 comments on commit e5f8b12

Please sign in to comment.