1

I am following the documentation to set up a docker compose of wordpress here: https://hub.docker.com/_/wordpress/

Everything works fine and I can open the site to find the usual wordpress installation script. I would be able to complete the installation, but I was wondering if there is an automatic way to set everything up.

The database details are stored in the docker compose file so this might not be so difficult. Additionally, the site title, default user and so on needs to be defined somewhere but due to my insufficient knowledge about docker I don't know where to start.

Has anyone any ideas where to start?

2
  • 1
    You could definitely have a pre-provisioned database and import it in the MySQL container. Worth reading: stackoverflow.com/q/43880026/2123530 Commented Apr 21, 2022 at 20:53
  • @β.εηοιτ.βε what a simple and elegant solution. Thank you very much! Commented Apr 26, 2022 at 7:38

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.