Sign inSign up

kamil7715/wordpress-ootb

By kamil7715

•Updated about 3 years ago

Out-of-the-box Wordpress image including MySQL, Apache and Certbot.

Image
0

965

kamil7715/wordpress-ootb repository overview

This image includes:

  • out-of-the-box WordPress instance,
  • MySQL database server,
  • Apache web server,
  • automated generation and renewal of SSL certificate using Certbot.

Example "docker run" command:

docker run -v www-wp:/var/www/html -v mysql-wp:/var/lib/mysql -p 80:80 -p 443:443 -e WORDPRESS_DB_USER=wordpress -e WORDPRESS_DB_PASSWORD=YourPassword -e WORDPRESS_DB_NAME=wordpress -e WORDPRESS_DOMAIN=example.com -e WORDPRESS_USER=admin -e WORDPRESS_PASSWORD=YourWordpressPassword -e [email protected] -e WORDPRESS_TITLE='Sample Page' kamil7715/wordpress-ootb 

Example docker-compose.yml file:

services:
  wordpress:
    image: kamil7715/wordpress-ootb
    ports:
        - '80:80'
        - '443:443'
    environment:
      - "WORDPRESS_DB_USER=wordpress"
      - "WORDPRESS_DB_PASSWORD=YourPassword"
      - "WORDPRESS_DB_NAME=wordpress"
      - "WORDPRESS_DOMAIN=example.com"
      - "WORDPRESS_USER=admin"
      - "WORDPRESS_PASSWORD=YourWordpressPassword"
      - "[email protected]"
      - "WORDPRESS_TITLE='Sample Page'"
    volumes:
      - www-wp:/var/www/html
      - mysql-wp:/var/lib/mysql

volumes:
  www-wp:
  mysql-wp:

You can also use all environment variables specified by the official WordPress Docker image.

Tag summary

Content type

Image

Digest

sha256:bbb667883…

Size

286.5 MB

Last updated

about 3 years ago

docker pull kamil7715/wordpress-ootb