No description, website, or topics provided.
PHP Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
10_create_db.sh
20_wordpress_backups.sh
40_parse_wordpress_config.sh
Dockerfile
README.md
build
docker-compose.yml
wp-config.template.php

README.md

Wordpress docker instance

You can run this instance with docker-compose up. You require docker compose

salt secrets

You should create secret keys and change the default if you are going to run it in production

curl https://api.wordpress.org/secret-key/1.1/salt/

Connect to the database

You can run a bash console with

docker-compose run wordpress bash

and then execute

mysql -u $DB_USER -p$DB_PASS -h $MYSQL_PORT_3306_TCP_ADDR $DB_NAME

Also you can change the url with this command:

update wp_options set option_value='http://192.168.59.103/' where option_name='siteurl'