We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d7296 commit 2daa18fCopy full SHA for 2daa18f
.github/workflows/rubyonrails.yml
@@ -22,9 +22,21 @@ jobs:
22
POSTGRES_DB: rails_test
23
POSTGRES_USER: rails
24
POSTGRES_PASSWORD: password
25
+ elasticsearch:
26
+ image: elasticsearch:7.17.23
27
+ ports:
28
+ - "9202:9200"
29
+ env:
30
+ "node.name": elasticsearch
31
+ "cluster.name": better-together-es
32
+ "discovery.seed_hosts": elasticsearch
33
+ "discovery.type": single-node
34
+ "bootstrap.memory_lock": true
35
+ "ES_JAVA_OPTS": "-Xms512m -Xmx512m"
36
env:
37
RAILS_ENV: test
38
DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
39
+ ES_HOST: "http://localhost"
40
steps:
41
- name: Checkout code
42
uses: actions/checkout@v3
0 commit comments