diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-15 16:13:16 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-15 16:13:16 +0200 |
commit | 492a682e34d66dd3046ed08f7aee80fb5317f777 (patch) | |
tree | 1476096e94cc5443286634df77a94c46a2a77e70 /docker-compose.yml | |
parent | 67b35a601ad88cd052ceae8d99c1e6df199cf50b (diff) |
Add custom neo4j dockerfile with graphaware and noderank plugins
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 18af16b60..59e0e5496 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 |