You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/01/22 02:06:49 UTC
[GitHub] [apisix-docker] ClementeGao opened a new issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
ClementeGao opened a new issue #122:
URL: https://github.com/apache/apisix-docker/issues/122
![Uploading image.png…]()
apisix配置文件
apisix:
node_listen: 9080 # APISIX listening port
enable_ipv6: false
allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
- 0.0.0.0/0 # We need to restrict ip access rules for security. 0.0.0.0/0 is for testt
.
admin_key:
- name: "admin"
key: edd1c9f034335f136f87ad84b625c8f1
role: admin # admin: manage all configuration data
# viewer: only can view configuration data
- name: "viewer"
key: 4054f7cf07e344346cd3f287985e76a2
role: viewer
etcd:
host: # it's possible to define multiple etcd hosts addresses of the same
etcd cluster.
- "http://172.18.5.10:2379" # multiple etcd address
prefix: "/apisix" # apisix configurations prefix
timeout: 30
dashboard配置文件
conf:
listen:
host: 0.0.0.0 # 允许外网访问
#host: 127.0.0.1 # `manager api` listening ip or host name
port: 9000 # `manager api` listening port
etcd:
endpoints: # supports defining multiple etcd host addresses for an etcd cluster
- 172.18.5.10:2379
log:
error_log:
level: warn # supports levels, lower to higher: debug, info, warn, error, panic, fatal
file_path:
logs/error.log # supports relative path, absolute path, standard output
# such as: logs/error.log, /tmp/logs/error.log, /dev/stdout, /dev/stderr
authentication:
secret:
secret # secret for jwt token generation.
# NOTE: Highly recommended to modify this value to protect `manager api`.
# if it's default value, when `manager api` start , it will generate a random string to replace itt
.
expire_time: 3600 # jwt token expire time, in second
users:
- username: admin # username and password for login `manager api`
password: admin
- username: user
password: user
~
~
~
~
~
"conf.yaml" 25L, 1026C
etcd docker-compose配置
![Uploading image.png…]()
etcd:
image: bitnami/etcd:3.4.9
user: root
restart: always
volumes:
- /home/etcd/data:/etcd_data
environment:
ETCD_DATA_DIR: /etcd_data
ETCD_ENABLE_V2: 'true'
ALLOW_NONE_AUTHENTICATION: "yes"
ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379"
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
ports:
- "2379:2379/tcp"
- "2380:2380/tcp"
networks:
apisix:
ipv4_address: 172.18.5.10
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] ClementeGao closed issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
ClementeGao closed issue #122:
URL: https://github.com/apache/apisix-docker/issues/122
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] ClementeGao commented on issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
ClementeGao commented on issue #122:
URL: https://github.com/apache/apisix-docker/issues/122#issuecomment-765128154
一定要检查下配置文件
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] ClementeGao commented on issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
ClementeGao commented on issue #122:
URL: https://github.com/apache/apisix-docker/issues/122#issuecomment-765128154
一定要检查下配置文件
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] tokers commented on issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #122:
URL: https://github.com/apache/apisix-docker/issues/122#issuecomment-765068236
@ClementeGao Could you provide a minimal reproducible case?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] ClementeGao closed issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
ClementeGao closed issue #122:
URL: https://github.com/apache/apisix-docker/issues/122
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] gxthrj commented on issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #122:
URL: https://github.com/apache/apisix-docker/issues/122#issuecomment-765089745
@ClementeGao If you have solved this issue, Please add some describe here, Thanks~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] tokers commented on issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #122:
URL: https://github.com/apache/apisix-docker/issues/122#issuecomment-765068236
@ClementeGao Could you provide a minimal reproducible case?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] gxthrj commented on issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #122:
URL: https://github.com/apache/apisix-docker/issues/122#issuecomment-765089745
@ClementeGao If you have solved this issue, Please add some describe here, Thanks~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-docker] gxthrj commented on issue #122: failed to paa rse yaml config: failed to merge, path[etcd->timeout] expect: number, but got: string
Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #122:
URL: https://github.com/apache/apisix-docker/issues/122#issuecomment-765235440
> 一定要检查下配置文件
haha,It is a fair suggestion.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org