srcs | ||
.gitignore | ||
env_template | ||
Makefile | ||
README.md |
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