Comment out secrets for gateway

If needed, create the secrets and then uncomment.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (VMware)
2018-06-04 21:25:15 -07:00
parent 0bb05480a3
commit ac9f0df5e5

View File

@ -16,7 +16,7 @@ services:
faas_nats_port: 4222 faas_nats_port: 4222
direct_functions: "true" # Functions are invoked directly over the overlay network direct_functions: "true" # Functions are invoked directly over the overlay network
direct_functions_suffix: "" direct_functions_suffix: ""
basic_auth: "true" basic_auth: "false"
secret_mount_path: "/run/secrets/" secret_mount_path: "/run/secrets/"
deploy: deploy:
resources: resources:
@ -32,9 +32,9 @@ services:
placement: placement:
constraints: constraints:
- 'node.platform.os == linux' - 'node.platform.os == linux'
secrets: # secrets:
- basic-auth-user # - basic-auth-user
- basic-auth-password # - basic-auth-password
# Docker Swarm provider # Docker Swarm provider
faas-swarm: faas-swarm:
@ -180,8 +180,8 @@ networks:
labels: labels:
- "openfaas=true" - "openfaas=true"
secrets: # secrets:
basic-auth-user: # basic-auth-user:
external: true # external: true
basic-auth-password: # basic-auth-password:
external: true # external: true