elastic
This commit is contained in:
parent
2e99431bdd
commit
5a0ea251ca
|
|
@ -23,6 +23,41 @@ services:
|
|||
- discovery.type=single-node
|
||||
- xpack.security.enabled=false
|
||||
|
||||
# Redis
|
||||
redis:
|
||||
image: redis:2.8.23
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
# Celery
|
||||
worker:
|
||||
build: .
|
||||
command: ./run_celery.sh
|
||||
environment:
|
||||
- SETTINGS_CONFIGURATION=local
|
||||
- DB_NAME=postgres
|
||||
- DB_USERNAME=postgres
|
||||
- DB_HOSTNAME=db
|
||||
- DB_PORT=5432
|
||||
- DB_PASSWORD=postgres
|
||||
links:
|
||||
- db
|
||||
- redis
|
||||
|
||||
worker_beat:
|
||||
build: .
|
||||
command: ./run_celery_beat.sh
|
||||
environment:
|
||||
- SETTINGS_CONFIGURATION=local
|
||||
- DB_NAME=postgres
|
||||
- DB_USERNAME=postgres
|
||||
- DB_HOSTNAME=db
|
||||
- DB_PORT=5432
|
||||
- DB_PASSWORD=postgres
|
||||
links:
|
||||
- db
|
||||
- redis
|
||||
|
||||
# App: G&M
|
||||
gm_app:
|
||||
build: .
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user