Skip to content

Commit

Permalink
Merge pull request #44 from harpatel1/214B
Browse files Browse the repository at this point in the history
Updating Flower configuration in docker compose file
  • Loading branch information
rkorytkowski committed Jun 25, 2020
2 parents d371bad + 2f41309 commit d758409
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion files/oclapi-demo/docker-compose.yml
Expand Up @@ -43,6 +43,8 @@ services:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_STORAGE_BUCKET_NAME
- FLOWER_USER=${FLOWER_USER-floweruser}
- FLOWER_PWD=${FLOWER_PWD-Flower123}
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/admin/authtoken/token/"]
Expand Down Expand Up @@ -105,7 +107,7 @@ services:
test: "exit 0"
flower:
image: openconceptlab/oclapi:${ENVIRONMENT-production}
command: celery -A tasks flower --basic_auth=root:${ROOT_PASSWORD-Root123}
command: celery -A tasks flower --basic_auth=${FLOWER_USER-floweruser}:${FLOWER_PWD-Flower123} --conf=flowerconfig.py
ports:
- "5556:5555"
depends_on:
Expand Down
4 changes: 3 additions & 1 deletion files/oclapi-prd/docker-compose.yml
Expand Up @@ -42,6 +42,8 @@ services:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_STORAGE_BUCKET_NAME
- FLOWER_USER=${FLOWER_USER-floweruser}
- FLOWER_PWD=${FLOWER_PWD-Flower123}
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/admin/authtoken/token/"]
Expand Down Expand Up @@ -104,7 +106,7 @@ services:
test: "exit 0"
flower:
image: openconceptlab/oclapi:${ENVIRONMENT-production}
command: celery -A tasks flower --basic_auth=root:${ROOT_PASSWORD-Root123}
command: celery -A tasks flower --basic_auth=${FLOWER_USER-floweruser}:${FLOWER_PWD-Flower123} --conf=flowerconfig.py
ports:
- "5555:5555"
depends_on:
Expand Down
4 changes: 3 additions & 1 deletion files/oclapi-qa/docker-compose.yml
Expand Up @@ -43,6 +43,8 @@ services:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_STORAGE_BUCKET_NAME
- FLOWER_USER=${FLOWER_USER-floweruser}
- FLOWER_PWD=${FLOWER_PWD-Flower123}
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/admin/authtoken/token/"]
Expand Down Expand Up @@ -105,7 +107,7 @@ services:
test: "exit 0"
flower:
image: openconceptlab/oclapi:${ENVIRONMENT-production}
command: celery -A tasks flower --basic_auth=root:${ROOT_PASSWORD-Root123}
command: celery -A tasks flower --basic_auth=${FLOWER_USER-floweruser}:${FLOWER_PWD-Flower123} --conf=flowerconfig.py
ports:
- "5555:5555"
depends_on:
Expand Down
4 changes: 3 additions & 1 deletion files/oclapi-stg/docker-compose.yml
Expand Up @@ -42,6 +42,8 @@ services:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_STORAGE_BUCKET_NAME
- FLOWER_USER=${FLOWER_USER-floweruser}
- FLOWER_PWD=${FLOWER_PWD-Flower123}
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/admin/authtoken/token/"]
Expand Down Expand Up @@ -104,7 +106,7 @@ services:
test: "exit 0"
flower:
image: openconceptlab/oclapi:${ENVIRONMENT-production}
command: celery -A tasks flower --basic_auth=root:${ROOT_PASSWORD-Root123}
command: celery -A tasks flower --basic_auth=${FLOWER_USER-floweruser}:${FLOWER_PWD-Flower123} --conf=flowerconfig.py
ports:
- "5555:5555"
depends_on:
Expand Down

0 comments on commit d758409

Please sign in to comment.