Skip to content

Commit

Permalink
[windows] adds restart policy
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas committed Feb 1, 2019
1 parent fe09494 commit 5917fab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions windows/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '2'
services:
datashare:
image: icij/datashare:${VERSION}
restart: on-failure
environment:
- "DS_JAVA_OPTS=\${DS_JAVA_OPTS}"
- "DS_DOCKER_MOUNTED_DATA_DIR=\${APPDATA}/Datashare/data"
Expand All @@ -13,11 +14,13 @@ services:

redis:
image: redis:4.0.1-alpine
restart: on-failure
ports:
- 6379:6379

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.0
restart: on-failure
environment:
- "ES_JAVA_OPTS=\${DS_JAVA_OPTS}"
- "http.host=0.0.0.0"
Expand Down

0 comments on commit 5917fab

Please sign in to comment.