MySQL Database Migration


Hey-

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'
services:
  database:
    container_name: "wordpress_database"
    image: mysql:5.7
    volumes:
      - /mnt/bigga/Wordpress/database:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: ImNotTellingYa!
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: WouldIActuallyBeAsStupidToPutThisHere
    networks:
      - 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.

The site was last updated on: 11/13/2024

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.