Giter Club home page Giter Club logo

aiida-prerequisites's Introduction

AiiDA Prerequisites

This repository adds PostgreSQL and RabbitMQ servers on top of phusion base image. Additionally, it creates a system profile ready to setup AiiDA under it.

Docker image

The docker image:

Wait for services

The image provides a mechanism to wait until the startup script has launched all services. Example of usage:

$ docker exec --tty $DOCKERID wait-for-services

This command will exit when all startup scripts are done. Note, however, that the mechanism does not check that all services are actually running.

Docker ARGs

The the following arguments can be set during build time:

ARG NB_USER="aiida"
ARG NB_UID="1000"
ARG NB_GID="1000"

These define the default user name, user id and group id for containers launched from the image. To modify their value do the following:

$ docker build  --build-arg NB_UID=200

Docker ENVs

The following environment variables can be set during container startup:

ENV SYSTEM_USER ${NB_USER}
ENV SYSTEM_USER_UID ${NB_UID}
ENV SYSTEM_USER_GID ${NB_GID}

To modify their value do the following:

docker run -e SYSTEM_USER=aiida2

Docker Hub repository

The docker image is built automatically on Docker Hub once new changes are pushed to the master or develop branches of this repository. The master branch is available under the docker tag stable, while the develop branch is available under the docker tag latest. In addition, any git tag pushed to the repository (say v1.0.1) will trigger a build on Docker Hub with the same docker tag without 'v' prefix (1.0.1).

All the images are available following this link: https://hub.docker.com/r/aiidateam/aiida-prerequisites

Acknowledgements

This work is supported by the MARVEL National Centre of Competence in Research funded by the Swiss National Science Foundation, as well as by the MaX European Centre of Excellence funded by the Horizon 2020 EINFRA-5 program, Grant No. 676598.

MARVEL MaX

aiida-prerequisites's People

Contributors

giovannipizzi avatar ltalirz avatar sphuber avatar unkcpz avatar yakutovicha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.