Comment out secrets for gateway
If needed, create the secrets and then uncomment.
@@ -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
\ No newline at end of file
+# secrets:
+# basic-auth-user:
+# external: true
+# basic-auth-password:
+# external: true
