Add "secrets" example for service create API docs

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2017-05-11 17:04:08 +02:00
parent 77d5a0996f
commit 3e7c1b9a99
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -7612,6 +7612,15 @@ paths:
Nameservers: ["8.8.8.8"] Nameservers: ["8.8.8.8"]
Search: ["example.org"] Search: ["example.org"]
Options: ["timeout:3"] Options: ["timeout:3"]
Secrets:
-
File:
Name: "www.example.org.key"
UID: "33"
GID: "33"
Mode: 384
SecretID: "fpjqlhnwb19zds35k8wn80lq9"
SecretName: "example_org_domain_key"
LogDriver: LogDriver:
Name: "json-file" Name: "json-file"
Options: Options: