Hi,
I’ve inherited a web app built in Wordpress, with some Node mixed in (not sure what for yet and I don’t have much documentation on this thing), and running in a Docker container.
I’ve followed the instructions in this site’s article about setting up Docker with Wordpress. I’m at the final step, running
docker compose up
from within my project directory, where a docker-compose.yml
file lives. The file looks like this (passwords removed):
version: ‘2’
services:
mysql:
build: ./mysql
environment:
MYSQL_ROOT_PASSWORD:
ports:
- 3306:3306
volumes:
- db:/var/lib/mysql
php:
build: ./php
volumes:
- ./php:/var/www/html
depends_on:
- mysql
wordpress:
depends_on:
- mysql
image: wordpress:4.7.4
ports:
- ‘8000:80’
volumes:
- ./wp-content/:/var/www/html/wp-content/
environment:
WORDPRESS_DB_HOST: mysql:3306
WORDPRESS_DB_PASSWORD:
phpmyadmin:
image: phpmyadmin/phpmyadmin
restart: always
ports:
- 8080:80
volumes:
- /sessions
environment:
PMA_HOST: mysql
volumes:
db:
wp_data`
So what happens when I run docker-compose is that it adds the generic Wordpress themes 2015, 2016 and 2017 to my /wp-content/themes
directory, and then runs the 2017 theme. It ignores my actual theme (called Unreal
) that lives in the theme directory.
Do I need to tell it to chose the existing theme in some way?