MySQL Database Migration


I just moved this site's MySQL database container. It is no longer included in the site's docker-compose.yml file, and it is its own container now so that I can use the same container for multiple projects. For the 2 of you who are actually interested, here is the docker-compose.yml file for just the database.

version: '3.3'
    container_name: "wordpress_database"
    image: mysql:5.7
      - /mnt/bigga/Wordpress/database:/var/lib/mysql
    restart: always
      MYSQL_ROOT_PASSWORD: ImNotTellingYa!
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: WouldIActuallyBeAsStupidToPutThisHere
      - wp

So yeah, this was a difficult task, and I'm glad to have it on my "done" column. I felt that this is a important change to make to the backend, and it will save some resources, now that I only have one MySQL server running.

That's all for today,

Website copyright © Damien Boisvert (AlphaGameDeveloper) 2024. Some rights reserved.

Site last updated: 2024-05-19 04:04:50 +0000

This site (and it's content) is licensed under the terms of the Creative Commons Attribution 4.0 International license. Click here for more information.