forked from CircuitVerse/CircuitVerse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (56 loc) · 1.33 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
50
51
52
53
54
55
56
57
version: "3.1"
services:
db:
image: postgres
environment:
POSTGRES_DB: circuitverse_development
POSTGRES_PASSWORD: postgres
sidekiq:
depends_on:
- db
- redis
build: .
command: bundle exec sidekiq -q default -q mailers
volumes:
- /circuitverse/.bundle
- /circuitverse/node_modules
- .:/circuitverse
- ./config/database.docker.yml:/circuitverse/config/database.yml
environment:
REDIS_URL: "redis://redis:6379/0"
web:
build: .
entrypoint: /circuitverse/bin/docker_run
volumes:
- /circuitverse/.bundle
- /circuitverse/node_modules
- .:/circuitverse
- ./config/database.docker.yml:/circuitverse/config/database.yml
ports:
- "3000:3000"
depends_on:
- db
- redis
- sidekiq
environment:
REDIS_URL: "redis://redis:6379/0"
CIRCUITVERSE_USE_SOLR: "false"
WEBPACKER_DEV_SERVER_HOST: "webpacker"
redis:
image: redis
webpacker:
build: .
environment:
- NODE_ENV=development
- RAILS_ENV=development
- WEBPACKER_DEV_SERVER_HOST=0.0.0.0
entrypoint: /circuitverse/bin/docker_webpacker_run
volumes:
- .:/circuitverse
- /circuitverse/.bundle
- /circuitverse/node_modules
ports:
- '127.0.0.1:3035:3035'
# volumes:
# app:
# public: