ShaoZeMing edited a comment on issue #3437:
URL: https://github.com/apache/apisix/issues/3437#issuecomment-768307832
configuration:
docker pull apache/apisix:2.2-centos
mkdir -p /data/apisix/
# install
```
docker run --restart=always -d --name apisix-server \
--network apisix \
-p 80:9080 \
-p 443:9443 \
-v /data/apisix/conf/config.yaml:/usr/local/apisix/conf/config.yaml \
-v /data/apisix/logs:/usr/local/apisix/logs \
apache/apisix:2.2-centos
```
# conf
```
etcd:
host:
- "http://etcd-server:2379"
#
# To configure via environment variables, you can use `${{VAR}}` syntax. For
instance:
#
# etcd:
# host:
# - "http://${{ETCD_HOST}}:2379"
#
# And then run `export ETCD_HOST=$your_host` before `make init`.
#
# If the configured environment variable can't be found, an error will be
thrown.
apisix:
admin_key:
-
name: "admin"
# yamllint disable rule:comments-indentation
key: edd1c9f034335f136f87ad84b625c8f1 # using fixed API token has
security risk, please
# update it when you deploy to production environment
# yamllint enable rule:comments-indentation
role: admin
```


----------------------------------------------------------------
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:
[email protected]