forked from CircuitVerse/CircuitVerse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (61 loc) · 1.39 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
58
59
60
61
62
63
version: "3.1"
services:
db:
image: postgres
environment:
POSTGRES_DB: circuitverse_development
POSTGRES_PASSWORD: postgres
sidekiq:
depends_on:
- db
- redis
- mailcatcher
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"
DOCKER_ENVIRONMENT: 'true'
redis:
image: redis
asset_build:
build: .
environment:
- NODE_ENV=development
- RAILS_ENV=development
command: yarn build --watch
volumes:
- .:/circuitverse
- /circuitverse/.bundle
- /circuitverse/node_modules
ports:
- '127.0.0.1:3035:3035'
mailcatcher:
image: schickling/mailcatcher
ports:
- '127.0.0.1:1080:1080'
- '127.0.0.1:1025:1025'
volumes:
app:
public: