2018-08-24 12:27:13 +02:00
|
|
|
version: "2.2"
|
2016-11-07 19:38:54 +01:00
|
|
|
services:
|
|
|
|
hub:
|
|
|
|
build:
|
|
|
|
context: containers/hub
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
|
|
|
- HTTP_PROXY=${HTTP_PROXY}
|
|
|
|
- HTTPS_PROXY=${HTTPS_PROXY}
|
|
|
|
- http_proxy=${http_proxy}
|
|
|
|
- https_proxy=${https_proxy}
|
2018-08-24 12:28:01 +02:00
|
|
|
- TUTOR_USERNAME=${TUTOR_USERNAME:-tutor}
|
|
|
|
- TUTOR_PASSWORD=${TUTOR_PASSWORD:-tutor}
|
2016-11-07 19:38:54 +01:00
|
|
|
ports:
|
2016-11-08 15:57:13 +01:00
|
|
|
- "127.0.0.1:8000:8000"
|
2016-11-07 19:38:54 +01:00
|
|
|
volumes:
|
|
|
|
- ./data/lessons:/home/tutor/lessons
|
|
|
|
- ./data/students:/home/tutor/students
|