|
|
@ -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 |
|
|
|