-
Notifications
You must be signed in to change notification settings - Fork 47
/
docker-compose.yml
48 lines (45 loc) · 1013 Bytes
/
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
44
45
46
47
48
volumes:
bundle:
play_bundle:
services:
package:
build: .
tty: true
stdin_open: true
working_dir: /home/package
environment:
- MEILISEARCH_HOST=http://meilisearch:7700
- MEILISEARCH_PORT=7700
- BUNDLE_PATH=/vendor/bundle
depends_on:
- meilisearch
links:
- meilisearch
volumes:
- bundle:/vendor/bundle
- ./:/home/package
# - ../meilisearch-ruby:/home/meilisearch-ruby
playground:
build:
context: ./playground
environment:
- MEILISEARCH_HOST=http://meilisearch:7700
- BUNDLE_PATH=/vendor/bundle
depends_on:
- meilisearch
working_dir: /home/app
links:
- meilisearch
ports:
- "3000:3000"
volumes:
- ./playground:/home/app
- ./:/home/meilisearch-rails
- play_bundle:/vendor/bundle
meilisearch:
image: getmeili/meilisearch:latest
ports:
- "7700"
environment:
- MEILI_MASTER_KEY=masterKey
- MEILI_NO_ANALYTICS=true