Created
April 25, 2019 17:58
-
-
Save abergmeier/61cf3945d892145ec9283448502ec8ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: | |
kind: | |
spec: | |
template: | |
spec: | |
containers: | |
- image: conductor:server | |
env: | |
- name: CONFIG_PROP | |
value: config.properties | |
build: | |
context: ../ | |
dockerfile: docker/server/Dockerfile | |
ports: | |
- 8080:8080 | |
links: | |
- elasticsearch:es | |
- dynomite:dyno1 | |
depends_on: | |
elasticsearch: | |
condition: service_healthy | |
dynomite: | |
condition: service_healthy | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "1k" | |
max-file: "3" | |
- image: conductor:ui | |
env: | |
- name: WF_SERVER | |
value: http://conductor-server:8080/api/ | |
build: | |
context: ../ | |
dockerfile: docker/ui/Dockerfile | |
ports: | |
- 5000:5000 | |
links: | |
- conductor-server | |
- image: v1r3n/dynomite | |
ports: | |
- 8102:8102 | |
healthcheck: | |
test: timeout 5 bash -c 'cat < /dev/null > /dev/tcp/localhost/8102' | |
interval: 5s | |
timeout: 5s | |
retries: 12 | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "1k" | |
max-file: "3" | |
# https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html | |
- image: docker.elastic.co/elasticsearch/elasticsearch:5.6.8 | |
env: | |
- name: ES_JAVA_OPTS | |
value: "-Xms512m -Xmx512m" | |
- name: transport.host | |
value: 0.0.0.0 | |
- name: discovery.type | |
value: single-node | |
- name: xpack.security.enabled | |
value: "false" | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
healthcheck: | |
test: timeout 5 bash -c 'cat < /dev/null > /dev/tcp/localhost/9300' | |
interval: 5s | |
timeout: 5s | |
retries: 12 | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "1k" | |
max-file: "3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment