mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
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
866 B
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
- https://wolfgang.gassler.org/reset-password-mariadb-mysql-docker/
- https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-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'