-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from hellofresh/add-docker-conf
make docker conf configurable
- Loading branch information
Showing
4 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
- name: restart docker | ||
service: | ||
name="docker" | ||
state="restarted" | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# {{ ansible_managed }} | ||
# Docker Upstart and SysVinit configuration file | ||
|
||
# | ||
# THIS FILE DOES NOT APPLY TO SYSTEMD | ||
# | ||
# Please see the documentation for "systemd drop-ins": | ||
# https://docs.docker.com/engine/articles/systemd/ | ||
# | ||
|
||
# Customize location of Docker binary (especially for development testing). | ||
{% if dockerhost_dockererd is defined %} | ||
DOCKERD="{{ dockerhost_dockererd }}" | ||
{% endif %} | ||
|
||
# Use DOCKER_OPTS to modify the daemon startup options. | ||
{% if dockerhost_docker_opts is defined %} | ||
DOCKER_OPTS="{{ dockerhost_docker_opts }}" | ||
{% endif %} | ||
|
||
# If you need Docker to use an HTTP proxy, it can also be specified here. | ||
{% if dockerhost_http_proxy is defined %} | ||
export http_proxy="{{ dockerhost_http_proxy }}" | ||
{% endif %} | ||
|
||
# This is also a handy place to tweak where Docker's temporary files go. | ||
{% if dockerhost_tmpdir is defined %} | ||
export TMPDIR="{{ dockerhost_tmpdir }}" | ||
{% endif %} |