-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 1.18 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
45
46
47
48
49
version: '3.7'
services:
web:
image: pfadiolten-home:dev
build:
context: .
args:
- http_proxy
command: sh -c "ruby ./bin/webpack --watch --colors --progress & bundle exec rails s -p 3000 -b '0.0.0.0'"
environment:
- RAILS_ENV=development
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
- WEBPACKER_DEV_SERVER_HOST=0.0.0.0
- RAILS_LOG_TO_STDOUT=true
- PFADIOLTEN_OSM_ACCESS_TOKEN
- PFADIOLTEN_INSTAGRAM_CLIENT_ID
- PFADIOLTEN_INSTAGRAM_CLIENT_SECRET
- PFADIOLTEN_INSTAGRAM_ACCESS_TOKEN
- PFADIOLTEN_HOMESCOUTING_UPLOAD_KEY=yes
ports:
- '3000:3000'
- '3035:3035'
volumes:
- .:/pfadiolten-home
- gems:/usr/local/bundle
- node_modules:/pfadiolten-home/node_modules
depends_on:
- db
tmpfs:
- /pfadiolten-home/log
- /pfadiolten-home/tmp
- /pfadiolten-home/public/packs
db:
image: postgres:11
environment:
POSTGRES_PASSWORD: devpass
volumes:
- data:/var/lib/postgresql/data
volumes:
data:
name: pfadiolten-home.data
gems:
name: pfadiolten-home.gems
node_modules:
name: pfadiolten-home.node_modules