-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-remote.yml
41 lines (41 loc) · 1.22 KB
/
docker-compose-remote.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
40
41
version: '3.4'
services:
remote:
build:
context: .
dockerfile: Dockerfile
target: remote-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}"
JUPYTER_TOKEN: "${JUPYTER_TOKEN}"
restart: always
ports:
- "${JUPYTER_PORT}:${JUPYTER_PORT}"
env_file:
# - ./nanoHUB/.env
- ./nanoHUB/.config
command: [jupyter, lab]
# command: bash -c "tail -f /dev/stdout"
deploy:
image: hello-world:latest
depends_on:
- remote