-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-template.yml
More file actions
33 lines (30 loc) · 1.33 KB
/
docker-compose-template.yml
File metadata and controls
33 lines (30 loc) · 1.33 KB
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
############################################################
# Launcher for Galaxy container
# This is a template, the following values must be replaced:
# - $${INSTANCE_NAME}, name for the instance
# - $${INSTANCE_PORT_1}, port number for Galaxy instance
# - $${ADMIN_ACCOUNTS}, list of admin email accounts for Galaxy and Galaksio (emails separated by comma)
# - $${GALAXY_INSTANCE_TITLE}, custom title for the Galaxy server (shown in home page)
############################################################
version: '2'
services:
$${INSTANCE_NAME}-galaxy:
image: bgruening/galaxy-stable
container_name: $${INSTANCE_NAME}-galaxy
environment:
- NONUSE=reports
- GALAXY_CONFIG_ADMIN_USERS=$${ADMIN_ACCOUNTS}
- GALAXY_CONFIG_BRAND="$${GALAXY_INSTANCE_TITLE}"
- GALAXY_CONFIG_TOOL_CONFIG_FILE=config/tool_conf.xml.sample,config/shed_tool_conf.xml.sample,/local_tools/custom_tools.xml
depends_on:
- $${INSTANCE_NAME}-galaxy-data
volumes_from:
- $${INSTANCE_NAME}-galaxy-data
ports:
- "$${INSTANCE_PORT_1}:80"
$${INSTANCE_NAME}-galaxy-data:
image: busybox
container_name: $${INSTANCE_NAME}-galaxy-data
volumes:
- /data/$${INSTANCE_NAME}-data/galaxy-data:/export
- /data/$${INSTANCE_NAME}-data/galaxy-custom-tools/:/local_tools