forked from CircuitVerse/CircuitVerse
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
42 lines (42 loc) · 970 Bytes
/
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
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"
redis:
image: redis
# volumes:
# app:
# public: