This repo contains a docker compose file for running the charlesreid1.com site.
The services available through pod-charlesreid1 are:
See Running.md for info about running this docker pod:
- Running the Docker Pod from Comand Line
- Running the Docker Pod as a Startup Service
- Workflow for Charlesreid1 Docker Pod Updates
- Restoring the Docker Pod from Backups
The quickstart: run
$ docker-compose up
If you want to rebuild the images (if you changed the Dockerfile),
$ docker-compose up --build
See Volumes.md for info about data and volumes used by this docker pod and each of its services:
- Persistent Data Volumes
- nginx + lets encrypt ssl certificates
- nginx static content
- nginx bind-mounted files
- mediawiki data volume
- mediawiki bind-mounted files
- gitea data volume
- gitea bind-mounted files
- python file server (pyfiles)
- pyfiles directory
There are a number of directories containing utility scripts - these are mostly dedicated to creating backups of any non-version-controlled data inside the container.
See Backups.md for coverage of backup and utility scripts.
utils-backups - backup utilities (for cron jobs)
utils-mw - mediawiki backup utilities
utils-mysql mysql backup utilities
Domains and Ports¶
See Domains and Ports.md for info about top-level domain names and ports used by this docker pod.
The domains ports document covers:
- nginx domain handling
- nginx ports
- mediawiki/apache ports
- phpmyadmin ports
- mysql ports
- gitea ports
- python file server ports
See Secrets.md for more info about getting secrets like passwords and sensitive files into various containers in the pod, without leaking out the information.
- mysql database root password
- mediawiki mysql database root password
- gitea secret key and session id
- nginx ssl certificates
utils-backups for backup utilities.
utils-mw for mediawiki utilities.
utils-mysql for mysql utilities.
docker compose documentation: