-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-kubernetes.yml
39 lines (38 loc) · 1.18 KB
/
docker-kubernetes.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
39
version: '3.3'
services:
dev:
build:
context: .
dockerfile: Dockerfile
target: dev-image
labels:
com.nanoHUB.description: "Development and Exploration service"
args:
UBUNTU_VERSION: "${UBUNTU_VERSION}"
NB_USER: "${NB_USER}"
NB_UID: "${NB_UID}"
NB_GID: "${NB_GID}"
APP_DIR_NAME: "${APP_DIR_NAME}"
HOME_DIR_NAME: "${HOME_DIR_NAME}"
JUPYTER_DISPLAY_IP_ADDRESS: "${JUPYTER_DISPLAY_IP_ADDRESS}"
ORIGIN_IP_ADDRESS: "${ORIGIN_IP_ADDRESS}"
JUPYTER_IP_ADDRESS: "${JUPYTER_IP_ADDRESS}"
JUPYTER_PORT: "${JUPYTER_PORT}"
BUILD_WITH_JUPYTER: "${BUILD_WITH_JUPYTER}"
LANG: "${LANG}"
LC_ALL: "${LC_ALL}"
LOCALE: "${LOCALE}"
CPUS: "${CPUS}"
PHP_VERSION: "${PHP_VERSION}"
COMPOSER_SIGNATURE: "${COMPOSER_SIGNATURE}"
JUPYTER_PASSWORD: "${JUPYTER_PASSWORD}"
restart: always
ports:
- "${JUPYTER_PORT}:${JUPYTER_PORT}"
volumes:
- ".:/${HOME_DIR_NAME}/${NB_USER}/${APP_DIR_NAME}"
env_file:
- ./nanoHUB/.env
- ./nanoHUB/.config
command: [jupyter, lab]
# command: bash -c "tail -f /dev/stdout"