Add custom neo4j dockerfile with graphaware and noderank plugins
This commit is contained in:
parent
67b35a601a
commit
492a682e34
3 changed files with 25 additions and 8 deletions
|
@ -5,14 +5,14 @@ services:
|
|||
redis:
|
||||
image: redis
|
||||
neo4j:
|
||||
image: neo4j
|
||||
environment:
|
||||
- NEO4J_AUTH=none
|
||||
app:
|
||||
build: .
|
||||
env_file: .env.production
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.neo4j
|
||||
web:
|
||||
extends: app
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.app
|
||||
env_file: .env.production
|
||||
command: bundle exec rails s -p 3000 -b '0.0.0.0'
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
@ -24,7 +24,10 @@ services:
|
|||
- ./public/assets:/mastodon/public/assets
|
||||
- ./public/system:/mastodon/public/system
|
||||
sidekiq:
|
||||
extends: app
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.app
|
||||
env_file: .env.production
|
||||
command: bundle exec sidekiq -q default -q mailers
|
||||
depends_on:
|
||||
- db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue