mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 06:43:23 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user