Open source software you can use to create a beautiful website, blog, or app
https://github.com/wordpress/wordpress
Luke Murphy
65742d663d
All checks were successful
continuous-integration/drone/push Build is passing
|
||
---|---|---|
backup.d | ||
.drone.yml | ||
.envrc.sample | ||
.gitignore | ||
compose.mailrelay.yml | ||
compose.yml | ||
entrypoint.mailrelay.sh.tmpl | ||
LICENSE | ||
msmtp.conf.tmpl | ||
package.yml | ||
README.md | ||
renovate.json |
wordpress
Coöp Cloud + Wordpress = 🥳
-
Set up Docker Swarm and
abra
-
Deploy
compose-stacks/traefik
-
cp .envrc.sample .envrc
-
Edit
.envrc
- be sure to change$DOMAIN
to something that resolves to your Docker swarm box -
direnv allow
(or. .envrc
) -
Generate secrets:
abra secret_generate db_password v1 abra secret_generate db_root_password v1
-
abra deploy
-
Open the configured domain in your browser to finish set-up
-
abra run wordpress chown www-data:www-data /var/www/html/wp-content
to fix file permissions (see #3)
Network (Multi-site)
(Only tested using subdomains)
- Set up as above
- Uncomment the first
# Multisite
section in.envrc
direnv allow
(or re-runsource .envrc
)abra deploy
- Log into the Wordpress admin dashboard, go to Tools » Network Setup
- Don't worry about the suggested file changes
- Comment out the first
# Multisite
section in.envrc
and uncomment the# Multisite phase 2
section direnv allow
(or re-runsource .envrc
)abra deploy
- FIXME setting up SSL / routing
Installing a custom theme
abra cp ~/path/to/local/theme wordpress:/var/www/html/wp-content/themes/
Backups
- Edit
.envrc
and uncomment theexport COMPOSE_FILE="compose.yml:compose.backup.yml"
line direnv allow
abra deploy
- Deploy
postfix-relay
- Edit
.envrc
and uncomment the email lines; changeMAIL_FROM
to make sure the domain is the same aspostfix-relay
's$DOMAIN
or in its$EXTRA_SENDER_DOMAINS
direnv allow
(orsource .envrc
)abra deploy