WordPress + MySQL

Installation

docker-compose.yml:

version: "3"

services:
wp:
    container_name: wordpress
    image: wordpress:latest
    environment:
    WORDPRESS_DB_PASSWORD: empty
    WORDPRESS_DB_HOST: mysql:3306
    networks:
    fast-wp-network:
        ipv4_address: 10.6.6.2
    depends_on:
    - mysql
    ports:
    - 80
mysql:
    container_name: mysql
    image: mysql:latest
    environment:
    MYSQL_ROOT_PASSWORD: empty
    networks:
    fast-wp-network:
        ipv4_address: 10.6.6.3
networks:
fast-wp-network:
    driver: bridge
    ipam:
    driver: default
    config:
        - subnet: 10.6.6.0/16