Install Script - Docker Registry inital commits

This commit is contained in:
Mike Reeves
2018-05-31 09:39:08 -04:00
parent 49ead2ee03
commit c4aee71240
2 changed files with 24 additions and 0 deletions
+15
View File
@@ -31,6 +31,7 @@ aptcacherlogdir:
- user: 939
- group: 939
- makedirs: true
# Copy the config
# Install the apt-cacher-ng container - TODO Create a so-docker for it
so-aptcacherng:
@@ -44,6 +45,20 @@ so-aptcacherng:
# Create the config directory for the docker registry
dockerregistryconfdir:
file.directory:
- name: /opt/so/conf/docker-registry
- user: 939
- group: 939
- makedirs: True
dockerregistrylogdir:
file.directory:
- name: /opt/so/log/docker-registry
- user: 939
- group: 939
- makedirs: true
# Copy the config
# Install the registry container