-
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 (29 loc) · 1.24 KB
/
docker-compose-template.yml
File metadata and controls
33 lines (29 loc) · 1.24 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 Command-line bootcamp 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 terminal provider instance
# - $${INSTANCE_PORT_2}, port number for the client website instance
############################################################
version: '2'
services:
$${INSTANCE_NAME}-command-line-bootcamp-docker:
image: docker:1.8-dind
container_name: $${INSTANCE_NAME}-command-line-bootcamp-docker
privileged: true
$${INSTANCE_NAME}-command-line-bootcamp-term:
image: fikipollo/cmd-bootcamp-term:0.9
container_name: $${INSTANCE_NAME}-command-line-bootcamp-term
links:
- $${INSTANCE_NAME}-command-line-bootcamp-docker:docker
depends_on:
- $${INSTANCE_NAME}-command-line-bootcamp-docker
ports:
- "$${INSTANCE_PORT_2}:8080"
$${INSTANCE_NAME}-command-line-bootcamp-web:
image: fikipollo/cmd-bootcamp-web:0.9
container_name: $${INSTANCE_NAME}-command-line-bootcamp-web
ports:
- "$${INSTANCE_PORT_1}:80"
environment:
- SERVER_URL=/$${INSTANCE_NAME}-term