Making of a HomePage

Create the base services of the web - a homepage. This is a skeleton site that you can build up on to get a production site by adding features like separating data and plugins, db editors, plugins, themes and other tools and features. WordPress is the # 1 CMS.

Making of a HomePage
Photo by Markus Spiske / Unsplash

Howe to set up your Homepage easily

In this article we create one of the base services of the web - a homepage.
This is a skeleton site that you can build up on to get a production site by adding features like separating data and plugins, db editors, plugins, themes and other tools and features.

WordPress is the most popular CMS (Content Management System) in the world, which makes it a top-drawer consideration when building a new site. It is built on a MySQL database with PHP processing. WordPress is open source software you can use to create a beautiful website, blog, or app.

WordPress uses a large number of plugins to enhance the functionality and plenty of themes, some free some not. And you can build your own.

You need

  • A domain address like example.com for the page www.example.com
  • A Reverse proxy to guide the traffic to the container
  • Docker installed and running

We make

  • A container for the sw
  • A DataBase for the Wp data - MaiaDB or MySQL
  • A WordPress based site for your homepage
  • Passwords see link complex minimum 16 recommended 20+ long

The base code

---
version: "3.9"
# Passwords: https://passwordsgenerator.net/
    
services:
  db:
    image: mariadb:latest
    volumes:
      - db_data:/var/lib/mysql
    container_name: wp_db  
    restart: unless_stopped
    environment:
      MYSQL_ROOT_PASSWORD: SecretLongPa$$word
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: Pa$$word
    
  wordpress:
    depends_on:
      - db
    image: wordpress:latest
    container_name: wp  
    volumes:
      - wordpress_data:/var/www/html
    ports:
      - "8000:80"
    restart: unless_stopped
    environment:
      WORDPRESS_DB_HOST: db
      WORDPRESS_DB_USER: wordpress
      WORDPRESS_DB_PASSWORD: Pa$$word
      WORDPRESS_DB_NAME: wordpress

# Volumes used by the services
volumes:
  db_data: {}
  wordpress_data: {}
# Networks for the services
networks:
  kadulla:
    external: true
# activate if using db
  pihalla:
    external: true
...

And the you can start the real work

Create a script and set a target for your audience and start writing.