- Prerequisites: Docker, Docker Compose, and Make must be installed on a Debian-based system.
- Secrets: Create a
.envfile insrcs/using the.env.templatetemplate. Then create a file for each secret using thesecrets.template/directory.
- Build/Launch:
makerunsdocker-compose -f srcs/docker-compose.yml up --build. - Debugging: Use
docker logs -f <container_name>to view real-time error logs. - Shell Access: Access any container with
docker exec -it <container_name> sh.
Project data is persistent and stored on the host machine in:
- DB Data:
/home/arcanava/data/mariadb - Site Files:
/home/arcanava/data/wordpress
The persistence is achieved via Bind Mounts defined in the docker-compose.yml, mapping these host paths to the container's /var/lib/mysql and /var/www/html directories respectively.