Skip to content

Commit

Permalink
change docker data folder to /opt/docker-data
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Ozkol committed Apr 6, 2019
1 parent 5c3ce24 commit 603e762
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions inventories/pro/group_vars/all/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ docker_volumes: /opt/docker-volumes
docker_logs: /opt/docker-logs
docker_backups: /opt/docker-backups
docker_certs: /opt/docker-certs
docker_data: /opt/docker-data

aws_access_key: "AKIAJYUEDKFQKOPEJMHQ"
aws_region: "eu-west-1"
Expand Down
1 change: 1 addition & 0 deletions roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- "{{ docker_logs }}"
- "{{ docker_volumes }}"
- "{{ docker_certs }}"
- "{{ docker_data }}"
become: yes
become_method: sudo

Expand Down
3 changes: 2 additions & 1 deletion roles/common/templates/docker-daemon-js.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"metrics-addr" : "0.0.0.0:9323",
"experimental" : true
"experimental" : true,
"graph" : "{{ docker_data }}"
}

0 comments on commit 603e762

Please sign in to comment.