This repository is archived. I am no longer actively developing/supporting it.
If you are interested in discussing the contents of this repository feel free to contact me via the contact details provided in the "Author" section below.
This repository contains the necessary files to spin up the core microservices for an archival digital repository.
These microservices are still in varying stages of development, changes may occur without warning.
It relies on the following projects:
The accutil is built to ingest files into the microservice systems.
Optional: Configure Swarm Visualizer If you'd like to have the swarm visualizer for pretty graphics running at $SWARM_HOST:8080
$ docker run -it -d -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock dockersamples/visualizer
Configure the Registry Manually fire up a docker image registry. If you already have a registry, instead set the $REGISTRY environmental variable.
$ docker service create --name registry --publish 5000:5000 registry:2
Clone the Git Repository
$ git clone https://github.com/bnbalsamo/microservice_repository_orchestration.git
Navigate into the Repository Root
$ cd microservice_repository_orchestration
Clone the Other Relevant Git Repositories
$ ./clone_repos.sh
Edit Settings in the vars.env File
Use whatever editor you like, the file is plaintext. Nano example provided:
$ nano vars.env
Build the YML for Docker Compose
$ ./build_swarm_yml.sh
Build the Container Images
$ docker-compose -f swarm_stack.yml build
Push the Built Images to the Docker Repository
$ docker-compose -f swarm_stack.yml push
Deploy the Services to the Swarm
$ docker stack deploy --compose-file swarm_stack.yml repository_swarm
You should now be able to navigate to $SWARM_HOST and see the interface
Clone the Git Repository
$ git clone https://github.com/bnbalsamo/microservice_repository_orchestration.git
Navigate into the Repository Root
$ cd microservice_repository_orchestration
Clone the Other Relevant Git Repositories
$ ./clone_repos.sh
Edit Settings in the vars.env File
Use whatever editor you like, the file is plaintext. Nano example provided:
$ nano vars.env
Build the YML for Docker Compose
$ ./build_compose_yml.sh
Build the Container Images
$ docker-compose -f docker-compose.yml build
Start the containers
$ docker-compose -f docker-compose.yml up
You should now be able to navigate to $UNIFIER_HOST:$UNIFIER_EXTERNAL_PORT and see the interface