Skip to content

Instantly share code, notes, and snippets.

@matthewma7
Created May 10, 2018 20:24
Show Gist options
  • Save matthewma7/2c3c97b038b0842e07deb1882dabace9 to your computer and use it in GitHub Desktop.
Save matthewma7/2c3c97b038b0842e07deb1882dabace9 to your computer and use it in GitHub Desktop.
Resonantgeo/Minerva docker-compose
version: "3"
volumes:
worker_tmp: {}
services:
broker:
image: rabbitmq
command: [
"rabbitmq-server",
"--hostname", "broker",
"--name" , "broker"]
database:
image: mongo:3.0
docker:
image: 'docker:dind'
privileged: true
provision:
links:
- database
- web
entrypoint: ["bash", "/docker-entrypoint/provision.bash"]
command: [
"--broker", "amqp://guest@broker",
"--plugins", "minerva,database_assetstore,large_image",
"--girder-host", "web",
"--girder-port", "8080",
"--girder-scheme", "http",
"--admin-name", "resonantgeo",
"--admin-pass", "resonantgeo",
"--user-name", "girder",
"--user-pass", "girder",
"--assetstore", "/local-assetstore",
"--database", "mongodb://database:27017/girder"]
image: 'matthewma7/resonantgeo'
web:
command: [
"--host", "0.0.0.0",
"--port", "8080",
"--database", "mongodb://database:27017/girder"
]
ports:
- "8080:8080"
links:
- database
- broker
image: 'matthewma7/resonantgeo'
worker:
entrypoint: ["bash", "/docker-entrypoint/worker.bash"]
command: [
"--gc",
"--broker", "amqp://guest@broker",
"--plugins", "docker,girder_io",
"--girder-host", "web",
"--girder-port", "8080",
"--girder-scheme", "http",
"--docker-host", "docker",
"--docker-port", "2375",
"--docker-scheme", "tcp",
"--concurrency", "4",
"--uid", "root",
"--gid", "root",
"--loglevel", "INFO"]
links:
- broker
- docker
- web
image: 'matthewma7/resonantgeo'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment