You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "qinyiying (via GitHub)" <gi...@apache.org> on 2023/08/29 00:37:00 UTC
[GitHub] [apisix] qinyiying commented on issue #10097: help request: configuring requires restarted apisix docker container
qinyiying commented on issue #10097:
URL: https://github.com/apache/apisix/issues/10097#issuecomment-1696605702
my compose.yml this is production environment so contain many ports. I make it as server load balancer.
```shell
version: "3"
services:
apisix-dashboard:
image: apache/apisix-dashboard:3.0.1-alpine
restart: unless-stopped
container_name: dashboard
volumes:
- /data/apisix/example/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml
- /etc/localtime:/etc/localtime:ro
- /data/apisix/cert.d/:/usr/local/apisix-dashboard/cert.d/:ro
ports:
- "9000:9000"
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
extra_hosts:
- "etcd1:10.133.109.160"
- "etcd2:10.133.109.164"
- "etcd3:10.133.109.201"
- "etcd4:10.133.109.228"
- "etcd5:10.133.109.227"
networks:
apisix:
apisix:
image: apache/apisix:3.2.2-debian
restart: unless-stopped
container_name: apisix
volumes:
- /data/apisix/example/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml
- /data/apisix/cert.d/:/usr/local/apisix/cert.d/:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "80:80/tcp"
- "443:443/tcp"
- "4443:4443/tcp"
- "5100:5100/tcp"
- "5443:5443/tcp"
- "6443:6443/tcp"
- "60006:60006/tcp"
- "8553:8553/tcp"
- "8999:8999/tcp"
- "6224:6224/tcp"
- "9663:9663/tcp"
- "18888:18888/tcp"
- "8091:8091/tcp"
- "8095:8095/tcp"
- "8089:8089/tcp"
- "8021:8021/tcp"
- "8022:8022/tcp"
- "8905:8905/tcp"
- "8020:8020/tcp"
- "8024:8024/tcp"
- "8903:8903/tcp"
- "8224:8224/tcp"
- "9180:9180/tcp"
- "127.0.0.1:9092:9092/tcp"
extra_hosts:
- "etcd1:10.133.109.160"
- "etcd2:10.133.109.164"
- "etcd3:10.133.109.201"
- "etcd4:10.133.109.228"
- "etcd5:10.133.109.227"
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
user: root
networks:
apisix:
networks:
apisix:
driver: bridge
name: apisix_network
-----------------------------------
And there is no log with error or warn
Last 100 lines log of docker apisix:
[access.log.txt](https://github.com/apache/apisix/files/12459048/access.log.txt)
-----------------------------------
And here is my config.yaml
[config.txt](https://github.com/apache/apisix/files/12459058/config.txt)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org