-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-pipeline.yml
36 lines (35 loc) · 1.08 KB
/
docker-compose-pipeline.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
version: '3.3'
services:
pipeline:
build:
context: .
dockerfile: Dockerfile
target: scheduler-image
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}"
PAPERTRAIL_URL: "${PAPERTRAIL_URL}"
CRON_LOG_FILE: "${CRON_LOG_FILE}"
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
# logging:
# driver: syslog
# options:
# syslog-address: "udp://${PAPERTRAIL_URL}"
# tag: "{{.Name}}/{{.ID}}"
env_file:
- ./nanoHUB/.env
# command: bash -c "sudo --preserve-env cron -f && tail -f /var/log/cron.log"
command: bash -c "sudo --preserve-env /usr/bin/supervisord"
# command: bash -c "sudo --preserve-env cron -f"