Skip to content

Commit

Permalink
Update Docker software to latest versions
Browse files Browse the repository at this point in the history
This matches what we use across our infrastructure.

While here I cleaned up the Docker Compose configuration a bit. I also
added the --build flag to the `docker-compose up` command to ensure that
we always build the images (this won't result in any difference unless
the user changes the Dockerfile).

Change-Id: I1c5981125b1e389a6516ee8ae4bdd734f7fdfe82
Reviewed-on: https://code.brigade.zone/19487
Tested-by: Leeroy Jenkins <[email protected]>
Reviewed-by: Shane da Silva <[email protected]>
  • Loading branch information
sds committed Nov 23, 2016
1 parent 9ae455f commit 6716c4b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ services:
environment:
APP_UID:
APP_GID:
ports:
- '3000:3000'
network_mode: host
volumes:
- '.:/workspace'
working_dir: '/workspace'
Expand All @@ -22,14 +21,7 @@ services:
environment:
APP_UID:
APP_GID:
ports:
- '9200:9200'
- '9300:9300'
network_mode: host
tmpfs:
- '/usr/share/elasticsearch/data:size=1G'
command: ['elasticsearch', '--action.write_consistency=one']

# Define names of volumes that you want to be preserved between container restarts.
# These are referenced above in the `volumes` section of the service.
volumes:
elasticsearch:

0 comments on commit 6716c4b

Please sign in to comment.