Files
computer-playbook/roles/web-app-wordpress/Administration.md
T
kevinveenbirkenbach 64b0506947 refactor: replace raw docker usage with container wrapper across roles
Replace direct `docker` command usage, references, and documentation with
the `container` wrapper to ensure engine abstraction and future portability
(e.g. Docker → Podman).

This includes:
- Shell scripts, Ansible tasks, handlers, and Python helpers
- Documentation, comments, help texts, and meta descriptions
- Network, volume, system, and image operations
- Test expectations and comments

All runtime behavior remains unchanged while enforcing the repository-wide
rule to avoid raw Docker invocations.

https://chatgpt.com/share/698721c3-e270-800f-be7a-e4435fb54506
2026-02-07 12:57:26 +01:00

866 B

Administration

database

If you use a local instead of a central database you can use the following commands.

access database

To access the database execute:

  compose exec -it database /bin/mysql -u wordpress -p

upgrade database

To upgrade the database execute:

  compose exec -it database /bin/mysql_upgrade --user=root --password=

change database root password

shell in docker

To execute the commands in the container container execute:

compose exec -it application /bin/sh

Test Email

To test the email execute:

compose exec -it application /bin/sh -c 'echo "Test Email" | sendmail -v your-email@example.com'