Skip to content

archivesspace-deprecated/docker-archivesspace-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker ArchivesSpace builds

Quickstart

./run.sh

Automated builds

  • docker hub integration (build on push)
  • also trigger from archivesspace/archivesspace to build on hub
  • webhook from hub to deploy via docker on server (captain webhook)

Manual builds

Clone this repository, cd to it and:

docker build --no-cache --rm=true -t archivesspace/build:latest .

Update images

To update images from the Docker registry:

docker pull mysql
docker pull markcooper/archivesspace-build

The archivesspace-build image is frequently updated as new commits are made to master.

Running

Use archivesspace/build:latest in place of markcooper/archivesspace-build for local builds.

# background mode
docker run --name archivesspace -d \
  -p 8080:8080 \
  -p 8081:8081 \
  -p 8089:8089 \
  -p 8090:8090 \
  markcooper/archivesspace-build

# foreground mode
docker run --name archivesspace -i -t \
  -p 8080:8080 \
  -p 8081:8081 \
  -p 8089:8089 \
  -p 8090:8090 \
  markcooper/archivesspace-build

# foreground mode and access container
docker run --name archivesspace -i -t \
  -p 8080:8080 \
  -p 8081:8081 \
  -p 8089:8089 \
  -p 8090:8090 \
  markcooper/archivesspace-build /bin/bash

With MySQL

# pull and run the official mysql docker image
docker run -d \
  -p 3306:3306 \
  --name mysql \
  -e MYSQL_ROOT_PASSWORD=123456 \
  -e MYSQL_DATABASE=archivesspace \
  -e MYSQL_USER=archivesspace \
  -e MYSQL_PASSWORD=archivesspace \
  mysql

# foreground mode
docker run --name archivesspace -i -t \
  -p 8080:8080 \
  -p 8081:8081 \
  -p 8089:8089 \
  -p 8090:8090 \
  -e ARCHIVESSPACE_DB_TYPE=mysql \
  --link mysql:db \
  markcooper/archivesspace-build

About

Build ArchivesSpace from source to deploy with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages