Last active
August 6, 2017 10:18
-
-
Save E-VANCE/7b8b74775d2bf6bc6338bf542efe31ee to your computer and use it in GitHub Desktop.
Example Movefile for Wordmove with SSH (VVV to DigitalOcean)
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
global: | |
sql_adapter: "default" | |
local: | |
vhost: "http://PROJECT.dev" | |
wordpress_path: "/srv/www/PROJECT/htdocs" # use an absolute path here | |
database: | |
name: "PROJECT_DB_NAME" | |
user: "external" | |
password: "external" | |
host: "http://PROJECT.dev" | |
production: | |
vhost: "http://PROJECT.live" | |
wordpress_path: "/var/www/html" # use an absolute path here | |
database: | |
name: "PROJECT" | |
user: "xxx" | |
password: "xxx" | |
host: "localhost" | |
# port: "3308" # Use just in case you have exotic server config | |
# mysqldump_options: "--max_allowed_packet=1G" # Only available if using SSH | |
exclude: | |
- ".git/" | |
- ".gitignore" | |
- ".sass-cache/" | |
- "node_modules/" | |
- "wp-content/themes/PROJECT/node_modules/" # theme-specific | |
- "wp-content/themes/PROJECT/bower_components/" # theme-specific | |
- "bin/" | |
- "tmp/*" | |
- "Gemfile*" | |
- "Movefile" | |
- "wp-config.php" | |
- "wp-content/*.sql.gz" | |
# paths: # you can customize wordpress internal paths | |
# wp_content: "wp-content" | |
# uploads: "wp-content/uploads" | |
# plugins: "wp-content/plugins" | |
# mu_plugins: "wp-content/mu-plugins" | |
# themes: "wp-content/themes" | |
# languages: "wp-content/languages" | |
ssh: | |
host: "PROJECT_IP_WITH_DO" | |
user: "root" | |
rsync_options: "-og --chown=www-data:www-data --no-perms --chmod=ugo=rwX" | |
# password: "password" # password is optional, will use public keys if available. | |
# port: 22 # Port is optional | |
# rsync_options: "--verbose" # Additional rsync options, optional | |
# gateway: # Gateway is optional | |
# host: "host" | |
# user: "user" | |
# password: "password" # password is optional, will use public keys if available. | |
# ftp: | |
# user: "user" | |
# password: "password" | |
# host: "host" | |
# passive: true | |
# scheme: "ftps" # default "ftp" | |
# staging: # multiple environments can be specified | |
# [...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment