This contains the Docker configs used to setup the clubs website, back-end, and admin portal.
It should reference the Dockerfile located in each of those repos. We will use Git Submodules to manage everything.
We will use Docker to develop test the code.
Install Docker and Docker compose.
From inside the club-stack directory, download the most up-to-date submodules' master branches with
git submodule update --init --remote
To run the app
docker-compose up
And go to localhost:80 for the club website.
Once you are done, you can press "Ctrl-C" in the terminal or type
docker-compose down -v
Be sure to read the certbot-info file for information about the SSL Certificate configuration.
When updating the project on the server, never run docker-compose down -v
as that will bring down the website. Instead:
- Update the Git folder
git pull
- Update the submodules (to their master branches)
git submodule update --remote
- Rebuild the docker image
docker-compose build
- Update the running container
docker-compose up -d
Please read CONTRIBUTING.md for how to work on the project.
This project is licensed under the MIT License - see the LICENSE.md file for details