-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
48 lines (45 loc) · 1000 Bytes
/
docker-compose.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
42
43
44
45
46
47
48
version: "3.5"
services:
python:
image: "python:${PYTHON_TAG}"
container_name: "${PROJECT_NAME}_python"
hostname: python
stop_grace_period: 60s
build:
dockerfile: Dockerfile
context: ./python
args:
BASE_IMAGE: python:${PYTHON_TAG}
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./python:/scripts
tidyverse:
image: "rocker/tidyverse:${TIDYVERSE_TAG}"
container_name: "${PROJECT_NAME}_tidyverse"
hostname: tidyverse
stop_grace_period: 60s
restart: always
build:
dockerfile: Dockerfile
context: ./r
args:
TIDYVERSE_TAG: $TIDYVERSE_TAG
environment:
USER: $R_STUDIO_USER
PASSWORD: $R_STUDIO_PASSWORD
ROOT: "TRUE"
#DISABLE_AUTH: true
ports:
- ${R_STUDIO_PORT}:8787
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./r:/home
networks:
default:
name: image_classification_examples