-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 1.07 KB
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
version: '3'
services:
rails:
# Build the image from Dockerfile
# build:
# context: .
# dockerfile: Dockerfile
# or just pull the image as follows
image: hibariya/rails-docker-examples-base
ports: ['3000:3000', '3001:3001']
tty: true
stdin_open: true
environment:
DATABASE_HOST: postgres
WEBPACKER_DEV_SERVER_HOST: webpacker
volumes:
- .:/app
- bundle:/usr/local/bundle
- elm-test:/root/.elm
- elm-test:/app/elm-stuff
depends_on:
- postgres
webpacker:
build:
context: .
command: ['bin/webpack-dev-server']
ports: ['3035:3035']
environment:
WEBPACKER_DEV_SERVER_HOST: 0.0.0.0
volumes:
- .:/app
- bundle:/usr/local/bundle
- elm:/root/.elm
- elm:/app/elm-stuff
postgres:
image: postgres:11.2-alpine
volumes:
- db:/var/lib/postgresql/data
selenium:
image: selenium/standalone-chrome-debug:3.141.59
ports: ['5900:5900']
environment:
VNC_NO_PASSWORD: 1
volumes:
bundle:
db:
elm:
elm-test: