Giter Club home page Giter Club logo

indy-docker's Introduction

Docker Utilities and Image Files for Indy

This repository contains a set of init scripts for setting up indy docker containers of three flavors:

  • A stripped-down volumes container (init-indy-volumes)
  • An Indy server container meant to work with the volume container (init-indy-server)
  • A standalone Indy server container (init-indy-server-no-vols)

You can run any of the above scripts with -h to see the available options.

It also contains an autodeploy script (./scripts/autodeploy-indy-server) that you can add to your cron jobs, to autodeploy an Indy tarball in dev-mode. Systemd scripts are provided in the systemd/ directory, for maintaining active Indy containers, with one service definition for each of the init scripts above.

Finally, it contains the docker image source materials (Dockerfile + supporting scripts) for the two basic image types (server and volume container).

Quickstart for CentOS 7

This is intended to be more or less a list of instructions for you to run. It would take a bit more effort to turn it into a really functional script:

#!/bin/bash

yum -y update
yum -y install epel-release
yum -y install docker tree lsof python-lxml python-httplib2
systemctl enable docker
systemctl start docker

# ./scripts/init-indy-volumes -h
./scripts/init-indy-volumes

# ./scripts/init-indy-server -h
./scripts/init-indy-server -p 80 -q

#Or, if you want, you can leave off the '-q' option and watch the server come up
#...then use CTL-C to exit the tty (the container will keep running)

cp systemd/indy-volumes.service systemd/indy.service /etc/systemd/system
systemctl enable indy-volumes indy

docker stop indy indy-volumes
systemctl start indy-volumes
systemctl start indy

# Use this to see the server log as it starts up, to make sure it boots properly.
journalctl -f

indy-docker's People

Contributors

jdcasey avatar

Watchers

James Cloos avatar Josef Karasek avatar  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.