Simolx opened a new issue #173:
URL: https://github.com/apache/apisix-docker/issues/173


   The `etcd`, `apisix` and  `apisix-dashboard` modules always restarts when I 
run command as `QuickStart via docker-compose` in `README.md`
   ```bash
   $ cd example
   $ docker-compose -p docker-apisix up -d
   $ docker-compose -p docker-apisix ps
   ```
   then I get the result:
   ```
                 Name                            Command                 State  
                   Ports
   
---------------------------------------------------------------------------------------------------------------------
   docker-apisix_apisix-dashboard_1   /usr/local/apisix-dashboar ...   
Restarting
   docker-apisix_apisix_1             sh -c /usr/bin/apisix init ...   
Restarting
   docker-apisix_etcd_1               /opt/bitnami/scripts/etcd/ ...   
Restarting
   docker-apisix_web1_1               /docker-entrypoint.sh ngin ...   Up       
    0.0.0.0:9081->80/tcp,:::9081->80/tcp
   docker-apisix_web2_1               /docker-entrypoint.sh ngin ...   Up       
    0.0.0.0:9082->80/tcp,:::9082->80/tcp
   ```
   
   I check the `etcd` log, and get the info:
   ```
   ...
   etcd_1              | 2021-05-19 14:24:28.057037 I | embed: advertise client 
URLs = http://0.0.0.0:2379
   etcd_1              | 2021-05-19 14:24:28.057141 W | pkg/fileutil: check 
file permission: directory "/bitnami/etcd/data" exist, but the permission is 
"drwxrwxr-x". The recommended permission is "-rwx------" to prevent possible 
unprivileged access to the data.
   etcd_1              | 2021-05-19 14:24:28.057187 C | etcdmain: cannot access 
data directory: open /bitnami/etcd/data/.touch: permission denied
   ```


-- 
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]


Reply via email to