version: '3.6' services: mysql: image: mysql platform: linux/amd64 # ADD This line to your docker-compose restart: always ports: