{"action":"closed","issue":{"url":"https://api.github.com/repos/docker-library/mysql/issues/501","repository_url":"https://api.github.com/repos/docker-library/mysql","labels_url":"https://api.github.com/repos/docker-library/mysql/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/mysql/issues/501/comments","events_url":"https://api.github.com/repos/docker-library/mysql/issues/501/events","html_url":"https://github.com/docker-library/mysql/issues/501","id":367240489,"node_id":"MDU6SXNzdWUzNjcyNDA0ODk=","number":501,"title":"MYSQL_ROOT_PASSWORD_FILE ignored during docker stack deploy","user":{"login":"SoftcatServiceDesk","id":35219505,"node_id":"MDQ6VXNlcjM1MjE5NTA1","avatar_url":"https://avatars0.githubusercontent.com/u/35219505?v=4","gravatar_id":"","url":"https://api.github.com/users/SoftcatServiceDesk","html_url":"https://github.com/SoftcatServiceDesk","followers_url":"https://api.github.com/users/SoftcatServiceDesk/followers","following_url":"https://api.github.com/users/SoftcatServiceDesk/following{/other_user}","gists_url":"https://api.github.com/users/SoftcatServiceDesk/gists{/gist_id}","starred_url":"https://api.github.com/users/SoftcatServiceDesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoftcatServiceDesk/subscriptions","organizations_url":"https://api.github.com/users/SoftcatServiceDesk/orgs","repos_url":"https://api.github.com/users/SoftcatServiceDesk/repos","events_url":"https://api.github.com/users/SoftcatServiceDesk/events{/privacy}","received_events_url":"https://api.github.com/users/SoftcatServiceDesk/received_events","type":"User","site_admin":false},"labels":[{"id":101572123,"node_id":"MDU6TGFiZWwxMDE1NzIxMjM=","url":"https://api.github.com/repos/docker-library/mysql/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-05T14:39:32Z","updated_at":"2018-10-05T17:37:59Z","closed_at":"2018-10-05T17:37:59Z","author_association":"NONE","body":"Attempting to use the following docker compose file for a stack results in an error:\r\n````\r\nversion: '3.7'\r\n\r\nservices:\r\n  db:\r\n    image: mysql\r\n    secrets:\r\n      - db_password\r\n    environment:\r\n      - MYSQL_DATABASE=cm\r\n      - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_password\r\n\r\n  adminer:\r\n    image: adminer\r\n    ports:\r\n      - 8080:8080\r\n    depends_on:\r\n      - db\r\n\r\nsecrets:\r\n  db_password:\r\n    external: true\r\n````\r\n\r\nError within the service logs (Full logs as comment):\r\n```\r\n2018-10-05T14:23:54.293125Z 5 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option\r\n```\r\n\r\nPerforming `docker exec -it container_name echo /run/secrets/db_password` echo's the password correctly?"}}
{"actor":{"display_login":"SoftcatServiceDesk"}}