-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
38 lines (34 loc) · 1.13 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This is a sample configuration to run a Tripal instance with Docker-Compose.
version: '3'
services:
web:
image: quay.io/galaxy-genome-annotation/tripal
volumes:
- ./volumes/tripal/html:/var/www/html/sites
- ./volumes/tripal/private:/var/www/private
environment:
UPLOAD_LIMIT: 20M
MEMORY_LIMIT: 128M
BASE_URL: "http://localhost:3000/tripal"
BASE_URL_PROTO: "http://"
DB_NAME: 'postgres'
ports:
- "3000:80"
depends_on:
- postgres
- elasticsearch
postgres:
image: quay.io/galaxy-genome-annotation/chado:1.31-jenkins21-pg9.5
environment:
- POSTGRES_PASSWORD=postgres
# The default chado image would try to install the schema on first run,
# we just want the tools to be available.
- INSTALL_CHADO_SCHEMA=0
- INSTALL_YEAST_DATA=0
- PGDATA=/var/lib/postgresql/data/
volumes:
- ./volumes/tripal/db:/var/lib/postgresql/data/
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.2
environment:
TAKE_FILE_OWNERSHIP: "true"