Skip to content

Commit

Permalink
redis protocol fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Golfari committed Jun 23, 2023
1 parent 41c61b9 commit 7502db4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker-compose-dev-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
- "${FLASK_PORT}:${FLASK_PORT}"
- "2992:2992"
environment:
REDIS_URL: ${REDIS_CONTAINER}://${REDIS_CONTAINER}:6379
REDIS_URL: redis://${REDIS_CONTAINER}:6379
REDIS_CONTAINER: ${REDIS_CONTAINER}
WEB_SERVER_CONTAINER: ${WEB_SERVER_CONTAINER}
FLASK_CONTAINER: flask_dev
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
- "${FLASK_PORT}:${FLASK_PORT}"
- "2992:2992"
environment:
REDIS_URL: ${REDIS_CONTAINER}://${REDIS_CONTAINER}:6379
REDIS_URL: redis://${REDIS_CONTAINER}:6379
REDIS_CONTAINER: ${REDIS_CONTAINER}
WEB_SERVER_CONTAINER: ${WEB_SERVER_CONTAINER}
FLASK_CONTAINER: flask_dev
Expand Down
6 changes: 3 additions & 3 deletions docker-compose-prod-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
WEB_SERVER_CONTAINER: ${WEB_SERVER_CONTAINER}
FLASK_CONTAINER: ${FLASK_CONTAINER}
FLASK_PORT: ${FLASK_PORT}
REDIS_URL: ${REDIS_CONTAINER}://${REDIS_CONTAINER}:6379
REDIS_URL: redis://${REDIS_CONTAINER}:6379
FLASK_ENV: production
FLASK_DEBUG: 0
LOG_LEVEL: info
Expand Down Expand Up @@ -59,11 +59,11 @@ services:
image: master-image
depends_on:
- redis
command: rqworker --with-scheduler --name worker --url ${REDIS_CONTAINER}://${REDIS_CONTAINER}:6379/0 ${RQ_QUEUE}
command: rqworker --with-scheduler --name worker --url redis://${REDIS_CONTAINER}:6379/0 ${RQ_QUEUE}
environment:
FLASK_CONTAINER: ${FLASK_CONTAINER}
FLASK_PORT: ${FLASK_PORT}
REDIS_URL: ${REDIS_CONTAINER}://${REDIS_CONTAINER}:6379
REDIS_URL: redis://${REDIS_CONTAINER}:6379
RQ_QUEUE: ${RQ_QUEUE}
MAIL_SERVER: ${MAIL_SERVER}
MAIL_PORT: ${MAIL_PORT}
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
WEB_SERVER_CONTAINER: ${WEB_SERVER_CONTAINER}
FLASK_CONTAINER: ${FLASK_CONTAINER}
FLASK_PORT: ${FLASK_PORT}
REDIS_URL: ${REDIS_CONTAINER}://${REDIS_CONTAINER}:6379
REDIS_URL: redis://${REDIS_CONTAINER}:6379
FLASK_ENV: production
FLASK_DEBUG: 0
LOG_LEVEL: info
Expand Down Expand Up @@ -57,11 +57,11 @@ services:
image: master-image
depends_on:
- redis
command: rqworker --with-scheduler --name worker --url ${REDIS_CONTAINER}://${REDIS_CONTAINER}:6379/0 ${RQ_QUEUE}
command: rqworker --with-scheduler --name worker --url redis://${REDIS_CONTAINER}:6379/0 ${RQ_QUEUE}
environment:
FLASK_CONTAINER: ${FLASK_CONTAINER}
FLASK_PORT: ${FLASK_PORT}
REDIS_URL: ${REDIS_CONTAINER}://${REDIS_CONTAINER}:6379
REDIS_URL: redis://${REDIS_CONTAINER}:6379
RQ_QUEUE: ${RQ_QUEUE}
MAIL_SERVER: ${MAIL_SERVER}
MAIL_PORT: ${MAIL_PORT}
Expand Down

0 comments on commit 7502db4

Please sign in to comment.