Skip to content

A meta repository storing config files for the running of all ECSS related services on our VM.

License

Notifications You must be signed in to change notification settings

ecss-soton/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECSS Infrastructure

A meta repository storing config files for the running of all ECSS related services on our VM.

Why?

The main reason for this repository is to version control our docker-compose.yaml file. This file is what is responsible for the majority of our infrastructure and this respository allows us to version control that infrastructure. It is our attempt at IaC (Infrastructure as Code)

What does this repo contain

How to use

Prerequisites

  • Docker v25+

Running the infrastructure

  1. Clone the repository
git clone https://github.com/ecss-soton/infrastructure.git && cd infrastructure
  1. Copy the example env files and fill them in with the production values
cp env/web_main.env.example env/web_main.env && cp env/web_sotonverify.env.example env/web_sotonverify.env && cp env/web_teamreg.env.example env/web_teamreg.env && cp env/bot_sotonverify.env.example env/bot_sotonverify.env
  1. Configure the Caddyfile

You'll want to change our FQDN (society.ecs.soton.ac.uk + sotonverify.link) to your own.

  1. Run the infrastructure
docker compose up -d

Updating the infrastructure

  1. Run the update script
chmod +x scripts/update.sh && ./scripts/update.sh

Domains

Both websites redirect www. to the non-www version

About

A meta repository storing config files for the running of all ECSS related services on our VM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages