-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.yaml
executable file
·64 lines (60 loc) · 1.35 KB
/
compose.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
volumes:
ruby_gems:
driver: local
java_libraries:
driver: local
javascript_modules:
driver: local
services:
ruby:
build:
context: ./
dockerfile: dockerfiles/ruby/Dockerfile
volumes:
- .:/usr/src
# not sync directories
- ruby_gems:/usr/src/vendor/ruby/gems
environment:
TZ: Asia/Tokyo
LANG: en_US.UTF-8
working_dir: /usr/src
tty: true
java:
build:
context: ./
dockerfile: dockerfiles/java/Dockerfile
volumes:
- .:/usr/src
# not sync directories
- java_libraries:/usr/src/vendor/java/libraries
environment:
TZ: Asia/Tokyo
# LANG: en_US.UTF-8
working_dir: /usr/src
tty: true
# command: ["tail", '-f', '/dev/null']
javascript:
build:
context: ./
dockerfile: dockerfiles/javascript/Dockerfile
environment:
TZ: Asia/Tokyo
LANG: en_US.UTF-8
tty: true
volumes:
- ./typescript:/usr/src/typescript
- ./vendor/javascript:/usr/src/
# not sync directories
- javascript_modules:/usr/src/node_modules
working_dir: /usr/src
python:
build:
context: ./
dockerfile: dockerfiles/python/Dockerfile
volumes:
- ./python3:/usr/src/python3
- ./vendor/python:/usr/src/
environment:
TZ: Asia/Tokyo
working_dir: /usr/src
tty: true