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