forked from saltstack-formulas/docker-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pillar.example
49 lines (46 loc) · 1.56 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# example docker registry container
# if you want to your own docker registry, use this
docker-containers:
lookup:
registry:
image: "registry:2"
cmd:
runoptions:
- "-e REGISTRY_LOG_LEVEL=warn"
- "-e REGISTRY_STORAGE=s3"
- "-e REGISTRY_STORAGE_S3_REGION=us-west-1"
- "-e REGISTRY_STORAGE_S3_BUCKET=my-bucket"
- "-e REGISTRY_STORAGE_S3_ROOTDIRECTORY=my-folder/my-subfolder/my-sub-subfolder"
- "--log-driver=syslog"
- "-p 5000:5000"
- "--rm"
docker-pkg:
lookup:
version: 1.6.2
refresh_repo: false
process_signature: /usr/bin/docker
# pip version is needed to maintain backwards compatibility with the above docker version
pip_version: '<= 1.2.3'
config:
- DOCKER_OPTS="-s btrfs --dns 192.168.0.2"
- export http_proxy="http://192.168.0.4:3128/"
# docker registry 2.x using the deprecated docker.registry - backwards compatibility
#registry:
# lookup:
# version: 2
# restart: always
# runoptions:
# - "-e REGISTRY_LOG_LEVEL=warn"
# - "-e REGISTRY_STORAGE=s3"
# - "-e REGISTRY_STORAGE_S3_REGION=us-west-1"
# - "-e REGISTRY_STORAGE_S3_BUCKET=my-bucket"
# - "-e REGISTRY_STORAGE_S3_ROOTDIRECTORY=my-folder/my-subfolder/my-sub-subfolder"
# - "--log-driver=syslog"
# docker registry < 1 using the deprecated, even older docker.registry - backwards compatibility
#registry:
# lookup:
# restart: 'always'
# amazon:
# aws_bucket: 'my-registry'
# aws_key: 'ABCDEFGHIJK123456789'
# aws_secret: 'AbcD+efG-HIjK1+++23456+789'