-
Notifications
You must be signed in to change notification settings - Fork 33
/
docker-compose.yml
44 lines (43 loc) · 1.04 KB
/
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
version: '3.4'
services:
rails:
image: cryptopus-dev/rails
user: "${UID:-1000}"
tty: true
stdin_open: true
environment:
- DISPLAY=${DISPLAY}
build:
context: ./config/docker/development
dockerfile: Rails.dockerfile
ports:
- 3000:3000
volumes:
- ./:/myapp
- ./tmp/seed:/seed
- ./config/docker/development/rails/bin/prepare-frontend.sh:/myapp/bin/prepare-frontend.sh:ro
- ./config/docker/development/home/rails:/home/developer
- bundler_cache:/opt/bundle
- /tmp/.X11-unix:/tmp/.X11-unix
ember:
image: cryptopus-dev/ember
tty: true
user: "${UID:-1000}"
stdin_open: true
build:
context: ./config/docker/development
dockerfile: Ember.dockerfile
volumes:
- ./frontend:/myapp
- ./tmp/bash_history:/root/.bash_history
- yarn_cache:/myapp/node_modules
- ./frontend/tmp:/tmp
tmpfs:
- /myapp/tmp
ports:
- "4200:4200"
- "7020:7020"
- "7357:7357"
volumes:
bundler_cache:
yarn_cache: