-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from 10up/wordpress
in progress
- Loading branch information
Showing
32 changed files
with
558 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
.DS_Store | ||
manta.id_rsa | ||
manta.id_rsa.pub | ||
_env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Environment variables for MySQL service | ||
MYSQL_USER=wpuser | ||
MYSQL_PASSWORD=userpassword | ||
MYSQL_REPL_USER=repluser | ||
MYSQL_REPL_PASSWORD=replpassword | ||
MYSQL_DATABASE=test | ||
|
||
# Environment variables for backups to Manta | ||
MANTA_URL= | ||
MANTA_USER= | ||
MANTA_SUBUSER= | ||
MANTA_ROLE= | ||
MANTA_KEY_ID= | ||
MANTA_PRIVATE_KEY= | ||
MANTA_BUCKET= | ||
|
||
WORDPRESS_VERSION=4.1 | ||
# please include the scheme http:// or https:// in the URL variable | ||
WORDPRESS_URL=http://localhost | ||
WORDPRESS_SITE_TITLE=test site | ||
[email protected] | ||
WORDPRESS_ADMIN_USER=username | ||
WORDPRESS_ADMIN_PASSWORD=password | ||
WORDPRESS_ACTIVE_THEME=theme | ||
WORDPRESS_CACHE_KEY_SALT=some-unique-string | ||
#WORDPRESS_TEST_DATA=False | ||
|
||
# Wordpress unique salts - these must be unique for your install to ensure | ||
# login security. visit the following link to generate a set for your site and | ||
# include them here | ||
# https://api.wordpress.org/secret-key/1.1/salt/ | ||
WORDPRESS_AUTH_KEY= | ||
WORDPRESS_SECURE_AUTH_KEY= | ||
WORDPRESS_LOGGED_IN_KEY= | ||
WORDPRESS_NONCE_KEY= | ||
WORDPRESS_AUTH_SALT= | ||
WORDPRESS_SECURE_AUTH_SALT= | ||
WORDPRESS_LOGGED_IN_SALT= | ||
WORDPRESS_NONCE_SALT= | ||
|
||
CONSUL=consul |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
/usr/local/bin/wp --allow-root core is-installed \ | ||
&& /usr/local/bin/wp --allow-root option get siteurl \ | ||
&& /usr/bin/curl --fail -s -o /dev/null http://localhost/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
/usr/local/bin/onchange-wp-config.sh | ||
|
||
consul-template \ | ||
-once \ | ||
-dedup \ | ||
-consul ${CONSUL}:8500 \ | ||
-template "/var/www/html/consul-templates/db-config.php.ctmpl:/var/www/html/content/db-config.php" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
consul-template \ | ||
-once \ | ||
-dedup \ | ||
-consul ${CONSUL}:8500 \ | ||
-template "/var/www/html/consul-templates/memcached-config.php.ctmpl:/var/www/html/memcached-config.php" |
Oops, something went wrong.