-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-template.yml
More file actions
30 lines (27 loc) · 1006 Bytes
/
docker-compose-template.yml
File metadata and controls
30 lines (27 loc) · 1006 Bytes
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
############################################################
# Launcher for wEMBOSS container for the eBioKit
# This is a template, the following values must be replaced:
# - $${INSTANCE_NAME}, name for the instance
# - ${INSTANCE_PORT_1}, port number for wEMBOSS instance
# - ${ADMIN_USER}, name for admin user
# - ${ADMIN_PASS}, password for admin user
############################################################
version: '2'
services:
$${INSTANCE_NAME}-wemboss:
image: fikipollo/wemboss:0.9
container_name: $${INSTANCE_NAME}-wemboss
environment:
- ADMIN_USER=${ADMIN_USER}
- ADMIN_PASS=${ADMIN_PASS}
depends_on:
- $${INSTANCE_NAME}-wemboss-data
volumes_from:
- $${INSTANCE_NAME}-wemboss-data
ports:
- "${INSTANCE_PORT_1}:80"
$${INSTANCE_NAME}-wemboss-data:
image: busybox
container_name: $${INSTANCE_NAME}-wemboss-data
volumes:
- ${DATA_LOCATION}/$${INSTANCE_NAME}-data/data:/data