Skip to content

Instantly share code, notes, and snippets.

@makslevental
Created February 28, 2017 21:51
Show Gist options
  • Save makslevental/19b0a4629e8675b61af9686ff9ffcd43 to your computer and use it in GitHub Desktop.
Save makslevental/19b0a4629e8675b61af9686ff9ffcd43 to your computer and use it in GitHub Desktop.
version: '3'
services:
databrary:
build:
context: ./databrary/
dockerfile: Dockerfile_final
image: databrary_databrary:final
depends_on:
- databrary_postgres
- databrary_solr
volumes:
- ./databrary/databrary_config/databrary.conf:/home/databrary/src/databrary.conf
ports:
- "8642:8642"
links:
- "databrary_postgres:databrary_postgres"
- "databrary_solr:databrary_solr"
databrary_postgres:
build: ./postgres/
image: databrary_postgres
volumes_from:
- databrary_postgres_store
depends_on:
- databrary_postgres_store
ports:
- "5432:5432"
databrary_postgres_store:
image: databrary_postgres_store
# volumes:
# - /var/lib/postgresql/data
databrary_solr:
build: ./solr
image: databrary_solr
ports:
- "8983:8983"
volumes:
- databrary_solr_store:/opt/solr
volumes:
databrary_solr_store:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment