Find a file
2025-07-31 00:14:28 +02:00
srcs fix: permissions on volumes 2025-06-26 10:58:07 +02:00
.gitignore dev: .gitignore for .env 2025-06-17 14:38:45 +02:00
env_template dev: clean and add README.md 2025-07-31 00:14:28 +02:00
Makefile dev: mariadb users * 2025-06-20 12:33:59 +02:00
README.md dev: clean and add README.md 2025-07-31 00:14:28 +02:00

inception

a project for the 42 school. it's a docker compose that builds and runs a wordpress website.

how to use

  • copy env_template to env and change the values as you want.
    • DOMAIN is the domain used in the SSL certificate used (that will be self-signed). you can use whatever
    • VOLUMES_PATH is the path where the volumes (all the website's data) will be saved. you probably want to set an absolute path
      • you might have problems reading/writing in that path if you're not root
  • build and run the docker using $ make
  • connect to https://localhost:4433/ with your favorite browser
    • it will show a warning as the SSL certificate is not valid. it's normal, it's a self-signed certificate. ignore
  • if it's your first time running it, it will ask you to configure the wordpress website. do that
  • you have your wordpress website :)
  • you can stop the docker wherever you want using ctrl-C on the terminal
  • to run it again, just use $ make again