Test creating images out of auto builds. The repo will be removed once temporary testing is finished
989
This repository contains Docker images that can be used to set up Rodan locally for development. These images can also be used in the future with slight modifications for deployment to a swarm production environment. Please see the wiki for more information about deploying Rodan. Rodan-Docker Wiki
If you are working on Rodan or Rodan Jobs
${repository_root}/rodan/code and it is up to date with the branch you wish to work with. The branches should be either develop, or the name of the feature you would like to include into develop. The master branch is only for version releases and is supposed to be a guaranteed working version.${repository_root}/scripts/install_rodan_jobs and ${repository_root}/scripts/install_python3_rodan_jobs.BRANCHES environment variable in the installation scripts, you can set the environment variable locally by running the following command: export BRANCHES="develop".If you are working on Rodan-Client
${repository_root}/rodan-client/code and it is up to date with the branch you wish to work with.The following commands may seem familiar to you if you have worked with Posix systems, or bash shells in general. Many of the commands that exist for docker, by just adding the prefix docker.
docker psdocker cp,docker top are also available to monitor resources outside of the containers.A similar concept to using exec is using SSH to connect to another computer. We use exec to connect to a specific container. It is much simpler to use docker-compose exec, instead of the docker exec. Docker-compose will search the configuration inside docker-compose.yml to know which service is being referenced. The format of the command works this way:
docker-compose exec <service_name> <command>/opt/some_directory/my_shell_script.shdocker-compose exec rodan bash or docker-compose exec celery bash for investigating problems. You should not be using this command to edit files, use docker volumes and your IDE outside of the container.Consult the documentation of the Docker command line for additional information.
The images are rebuilt and pushed automatically on a nightly basis at 2am. This accomplished with a cron job. You must point the cron job to the nightly script on one of the staging virtual machines. Any account will do and no authentication required, add this line to the crontab. Docker hub will send a Slack notification if the image has built. We should expect 5 new images daily, or more if there was a new tagged release of any of them.
0 2 * * 1-5 /srv/webapps/rodan-docker/scripts/nightly
You may also force Docker Cloud to rebuild new images when new commits are pushed to a Git repository. Unfortunately, we had problems connecting the rodan-docker GitHub repository to Docker Cloud due to authentication issues, so we set up a private repository on Bitbucket instead.
For more information about volumes in Docker, see Use volumes in the Docker documentation. See also the docs for the volumes section of the docker-compose.yml file.
Content type
Image
Digest
Size
53.5 MB
Last updated
over 4 years ago
docker pull ddmal/shahradpy3test