Created
May 10, 2018 20:24
-
-
Save matthewma7/2c3c97b038b0842e07deb1882dabace9 to your computer and use it in GitHub Desktop.
Resonantgeo/Minerva docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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