Closed Huong-nt closed 5 years ago
We fixed this issue, now you can try to redeploy it
I pull lasted version from https://hub.docker.com/r/emqx/emqx, but still got the same error.
Sorry to reply so lately, you can give permission to the log directory 777, and then redeploy
$ sudo chmod 777 log
$ sudo docker-compose up
WARNING: Some services (emqtt-master) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Recreating issue_emqtt-master_1 ... done
Attaching to issue_emqtt-master_1
emqtt-master_1 | node.max_ports=1048576
emqtt-master_1 | listener.tcp.external.acceptors=64
emqtt-master_1 | auth.http.auth_req.method=get
emqtt-master_1 | auth.http.super_req=http://127.0.0.1:5000/api/v1/mqtt/superuser
emqtt-master_1 | auth.http.acl_req=http://127.0.0.1:5000/api/v1/mqtt/acl
emqtt-master_1 | allow_anonymous=false
emqtt-master_1 | listener.ssl.external.acceptors=32
emqtt-master_1 | node.process_limit=2097152
emqtt-master_1 | node.max_ets_tables=2097152
emqtt-master_1 | listener.ws.external.acceptors=16
emqtt-master_1 | auth.http.super_req.method=get
emqtt-master_1 | node.name=emqtt-master@172.18.0.2
emqtt-master_1 | auth.http.acl_req.method=get
emqtt-master_1 | auth.http.auth_req=http://127.0.0.1:5000/api/v1/mqtt/auth
emqtt-master_1 | EMQX_LOADED_PLUGINS="emqx_recon,emqx_retainer,emqx_management,emqx_dashboard,emqx_auth_http"
emqtt-master_1 | emqx 3.1.1 is started successfully!
emqtt-master_1 | ['2019-05-13T02:59:40Z']:emqx start
@zhanghongtong Thanks you! it works 👍
You are welcome :)
Expected behavior
docker-compose: mount log folder of EMQ X server
Actual behavior
Exit with code 1
Test code
Docker-compose file:
EMQ version
Docker version
How docker info?
System
Linux ubuntu-HP-Pavilion-Desktop-PC-570-p0xx 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Hardware
HP-Pavilion-Desktop-PC-570