Set PROJECT_NAME and SITE_URL
This commit is contained in:
parent
6c3a23601a
commit
7f6ad44f5a
@ -29,10 +29,10 @@ WORDPRESS_DEBUG=1
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Docker container names, probably just needs to be set once per project
|
# Docker container names, probably just needs to be set once per project
|
||||||
PROJECT_NAME=foobar
|
PROJECT_NAME=mont58
|
||||||
|
|
||||||
# Site URL, also just needs to be set once per project
|
# Site URL, also just needs to be set once per project
|
||||||
SITE_URL=foobar.org
|
SITE_URL=mont58-staging.smol-wp.autonomic.zone
|
||||||
|
|
||||||
# Multi-site config
|
# Multi-site config
|
||||||
#WORDPRESS_CONFIG_EXTRA="define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'frms.localhost'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define('SUNRISE', true);"
|
#WORDPRESS_CONFIG_EXTRA="define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'frms.localhost'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define('SUNRISE', true);"
|
||||||
|
2
makefile
2
makefile
@ -112,7 +112,7 @@ uploads_load:
|
|||||||
|
|
||||||
## Download database from dev site
|
## Download database from dev site
|
||||||
db_fetch:
|
db_fetch:
|
||||||
$(ABRA) app run $(SITE_URL) db bash -c 'mysqldump -u root -p"$$(cat /run/secrets/db_root_password)" wordpress' | gzip > data/dbdump.sql.gz
|
$(ABRA) app run $(SITE_URL) db bash -c 'mariadb-dump -u root -p"$$(cat /run/secrets/db_root_password)" wordpress' | gzip > data/dbdump.sql.gz
|
||||||
|
|
||||||
## Load latest database from ~/.abra/backups
|
## Load latest database from ~/.abra/backups
|
||||||
db_load:
|
db_load:
|
||||||
|
Loading…
Reference in New Issue
Block a user