-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.dist
43 lines (39 loc) · 1.42 KB
/
docker-compose.yml.dist
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
version: '2'
networks:
internal:
services:
ksearch:
image: "klinktechnology/k-search:3.6.0-2"
# build: . # When developing you can create a K-Search docker image to test your changes
ports:
- 8080:80
environment:
## Further details about ENV configurations are available in `.env.dist`
# Application settings
- APP_ENV=prod # The running environment (prod|dev)
- APP_DEBUG=0 # Enable (1) or disable (0) the debug feature
# Solr search configuration
- SOLR_HOST=engine # this is the external address of Solr, the host is the name of the engine service
- SOLR_CORE=k-search # this is the Solr index name
# Registry configuration (disabled)
- KLINK_REGISTRY_ENABLED=0
# The K-Registry API endpoint, leave empty if disabled
# - KLINK_REGISTRY_API_URL=
# The Queue transportation system configuration
# "MESSENGER_TRANSPORT_DSN='filesystem:///%kernel.project_dir%/var/queue?compress=true&loop_sleep=1000000'"
# The database location
# - "DATABASE_URL='sqlite:///%kernel.project_dir%/var/data.db'"
depends_on:
- engine
networks:
- internal
engine:
image: "klinktechnology/k-search-engine:1.0.1-1"
volumes:
- "/opt/solr/k-search/k-search/data" # dynamic volume
expose:
- "8983"
environment:
KLINK_SOLR_MYHOST: engine # this is the external address of solr
networks:
- internal