Get support for vincentchalamon/docker-wordpress

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

vincentchalamon/docker-wordpress

Docker Wordpress

A Dockerfile for better Wordpress.

This configuration is built for development. You can use it in production at your own risks !

Don't know Docker yet ?

Installation

Install Docker (Toolbox for OS X & Windows).

Then, run following command to run container:

docker run -d -P vincentchalamon/wordpress

Your project is available at http://127.0.0.1 (for Toolbox, follow http://192.168.99.100).

Directory wp-content is mount as volume. It's your own to download this directory from a Wordpress install and mount it as volume.

Configuration

Want to integrate it with MySql ? I recommand to use Docker Compose.

Create docker-compose.yml file as following:

wordpress:
    image: vincentchalamon/wordpress
    volumes:
        - .:/var/www/content
    links:
        - db:mysql
    ports:
        - 80:80
    environment:
        WORDPRESS_URI: www.example.com
        WORDPRESS_CONTENT_DIR: custom-content
        WORDPRESS_DB_PASSWORD: custom_database
        WORDPRESS_TABLE_PREFIX: customprefix_

db:
    image: mysql
    environment:
        MYSQL_USER: root
        MYSQL_ROOT_PASSWORD: custom_database

Then run docker-compose up -d, your Symfony project is ready to access MySql through 127.0.0.1:3306.

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2