# Docker setup with MySQL container

**URL:** <https://forum.ghost.org/t/docker-setup-with-mysql-container/13334>\
**Category:** Installation\
**Created:** [April 8, 2020, 7:54am UTC](https://forum.ghost.org/t/docker-setup-with-mysql-container/13334 "2020-04-08T07:54:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Happyfeet01](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/happyfeet01/32/5283_2.png) [@Happyfeet01](https://forum.ghost.org/u/Happyfeet01)\
**Post date:** [April 8, 2020, 7:54am UTC](https://forum.ghost.org/t/docker-setup-with-mysql-container/13334/1 "2020-04-08T07:54:43Z")

</div>

I try to deploy ghost in an docker container, for better updates management.

I read this post, my docker-compose file is the same. Get also the same error message.

> [@Connecting to MySQL with Docker Compose](https://forum.ghost.org/t/connecting-to-mysql-with-docker-compose/7806):
>
> Hello folks, I’m following along with a guide on setting up Ghost on my own VPS, using docker-compose to setup most of the pieces. For reference, this is the guide: [How to Install Ghost CMS with Docker on Ubuntu 18.04 | Linode](https://www.linode.com/docs/websites/cms/how-to-install-ghost-cms-with-docker-compose-on-ubuntu-18-04/) I realize it’s for Ubuntu 18 but I’m not sure if that matters in this case. If it does I’d appreciate that knowledge! What version of Ghost are you using? Latest tag from Ghost docker image What configuration? docker-compose on Ubuntu 16.04.6 What errors or infor…

Have anyone an working container

Edit:

Found an solution

[https://dasnetzundich.de/ghost-cms-einrichten-mit-docker-compose/](https://dasnetzundich.de/ghost-cms-einrichten-mit-docker-compose/)

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [April 9, 2020, 9:35am UTC](https://forum.ghost.org/t/docker-setup-with-mysql-container/13334/2 "2020-04-09T09:35:36Z")

</div>

Solution: [https://dasnetzundich.de/ghost-cms-einrichten-mit-docker-compose/](https://dasnetzundich.de/ghost-cms-einrichten-mit-docker-compose/)

---

<div class="post-metadata">

**Author:** ![Happyfeet01](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/happyfeet01/32/5283_2.png) [@Happyfeet01](https://forum.ghost.org/u/Happyfeet01)\
**Post date:** [April 14, 2020, 10:43am UTC](https://forum.ghost.org/t/docker-setup-with-mysql-container/13334/3 "2020-04-14T10:43:54Z")

</div>

I tried to setup email (Mailgun) in this container but no idea why it won’t work. Newsletter works.
