Skip to content
This repository was archived by the owner on May 21, 2021. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airfoil

For the course 1TD265 (Applied Cloud Computing) @ Uppsala University. Sets up a distributed airfoil calculation cluster using FEniCS with dynamic scaling based on the size of the workload. Requires OpenStack.

Local development:

  1. docker-compose up

Deploy:

  1. Update docker-compose.prod.yml with your domain(s). 3 are required for the web interface, object storage, and API.
  2. Create an instance with Docker and OpenStack credentials as environment variables.
  3. Install docker
  4. Authenticate with GitHub package registry (to download private packages)
  5. Run docker stack deploy -c docker-compose.prod.yml --with-registry-auth
  6. Run cd worker-monitor && python3 workerMonitor.py
  7. Go to yourdomain.tld and get computing!

Notes

Traefik (reverse proxy) service discovery can be a slow when deploying it, it speeds up later. Configure hostnames in docker-compose.prod.yml to the correct hostnames before deploying. Services available:

  • api.hostname.tld (REST API)
  • data.hostname.tld (MinIO / Object Storage)
  • hostname.tld (Web Interface)
  • hostname.tld:8080 (Traefik/reverse proxy monitoring)

Preferably, don't mooch off our hosting of the murtazo.tgz tarball! Update it to your location in worker/Dockerfile :)

Dependencies

  • docker

Also, make sure that the docker daemon is running. If not, run systemctl start docker.service.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages