-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (36 loc) · 1.09 KB
/
docker-compose.yml
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
42
43
version: "3.7"
# YAML Anchors
x-elastic-client-env: &elastic-client-env
ELASTIC_HOST: ${ELASTIC_HOST:-elastic}
ELASTIC_PORT: ${ELASTIC_PORT:-9200}
x-rethinkdb-client-env: &rethinkdb-client-env
RETHINKDB_HOST: ${RETHINKDB_HOST:-rethink}
RETHINKDB_PORT: ${RETHINKDB_PORT:-28015}
RETHINKDB_DB: ${RETHINKDB_DB:-place_development}
x-search-ingest-client-env: &search-ingest-client-env
SEARCH_INGEST_URI: ${SEARCH_INGEST_URI:-http://search-ingest:3000}
services:
test:
image: placeos/service-spec-runner
volumes:
- ${PWD}/spec:/app/spec
- ${PWD}/src:/app/src
- ${PWD}/lib:/app/lib
- ${PWD}/shard.override.yml:/app/shard.override.yml
- ${PWD}/shard.yml:/app/shard.yml.input
depends_on:
- elastic
- rethink
environment:
# Environment
GITHUB_ACTION: ${GITHUB_ACTION:-}
# Service Hosts
<<: [*elastic-client-env,*rethinkdb-client-env]
elastic:
image: elasticsearch:7.17.6
restart: always
environment:
discovery.type: single-node
rethink:
image: rethinkdb:${RETHINKDB_VERSION:-2.4}
restart: always