mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Renaming servers in docker-compose haproxy.
This commit is contained in:
parent
e10598a99f
commit
e80f552c7b
1 changed files with 16 additions and 16 deletions
|
@ -69,78 +69,78 @@ frontend public
|
|||
backend node_socket
|
||||
http-check expect rstatus 200|503
|
||||
balance roundrobin
|
||||
server node_socket01 node_websocket:8888 check inter 3000ms
|
||||
server node_socket node_websocket:8888 check inter 3000ms
|
||||
|
||||
backend node_favicon
|
||||
http-check expect rstatus 200|503
|
||||
option httpchk GET /rss_feeds/icon/1
|
||||
balance roundrobin
|
||||
server node_favicon01 favicons:3030 check inter 3000ms
|
||||
server node_favicon favicons:3030 check inter 3000ms
|
||||
|
||||
backend node_text
|
||||
http-check expect rstatus 200|503
|
||||
option httpchk GET /rss_feeds/original_text_fetcher?test=1
|
||||
balance roundrobin
|
||||
server node_text01 original_text:4040 check inter 3000ms
|
||||
server node_text original_text:4040 check inter 3000ms
|
||||
|
||||
|
||||
backend nginx
|
||||
balance roundrobin
|
||||
option httpchk GET /_nginxchk
|
||||
http-check expect rstatus 200|503
|
||||
server nginx01 nginx:81 check inter 60000ms
|
||||
server nginx nginx:81 check inter 60000ms
|
||||
|
||||
backend gunicorn
|
||||
balance roundrobin
|
||||
option httpchk GET /_haproxychk
|
||||
server app01 nb.com:8000 check inter 3000ms
|
||||
server app_django nb.com:8000 check inter 3000ms
|
||||
|
||||
backend gunicorn_counts
|
||||
balance roundrobin
|
||||
option httpchk GET /_haproxychk
|
||||
server gunicorn_counts nb.com:8000 check inter 15000ms
|
||||
server app_counts nb.com:8000 check inter 15000ms
|
||||
|
||||
backend gunicorn_refresh
|
||||
balance roundrobin
|
||||
option httpchk GET /_haproxychk
|
||||
server-template gunicorn_refresh 2 nb.com:8000 check inter 30000ms
|
||||
server app_refresh nb.com:8000 check inter 30000ms
|
||||
|
||||
|
||||
backend push
|
||||
balance roundrobin
|
||||
option httpchk GET /_haproxychk
|
||||
server push nb.com:8000 check inter 3000ms
|
||||
server app_push nb.com:8000 check inter 3000ms
|
||||
|
||||
backend work
|
||||
balance roundrobin
|
||||
option httpchk GET http://monitor:5579/work_check/celeryd_work_queue
|
||||
http-check expect rstatus 200|503|301
|
||||
server work celeryd_work_queue:82 check inter 3000ms
|
||||
server task_work celeryd_work_queue:82 check inter 3000ms
|
||||
|
||||
backend postgres
|
||||
option httpchk GET http://monitor:5579/db_check/postgres
|
||||
server postgres-db02 db_postgres:5432 check inter 2000ms
|
||||
server db_postgres db_postgres:5432 check inter 2000ms
|
||||
|
||||
backend mongo
|
||||
option httpchk GET http://monitor:5579/db_check/mongo
|
||||
server-template mongo 4 db_mongo:27017 check inter 2000ms
|
||||
server db_mongo db_mongo:27017 check inter 2000ms
|
||||
|
||||
backend redis
|
||||
option httpchk GET http://monitor:5579/db_check/redis
|
||||
server redis-db40 db_redis:6579 check inter 2000ms
|
||||
server redis-pubsub-db43 monitor:5579 check inter 2000ms
|
||||
server db_redis_user db_redis:6579 check inter 2000ms
|
||||
server db_redis_pubsub monitor:5579 check inter 2000ms
|
||||
|
||||
backend redis_story
|
||||
option httpchk GET http://monitor:5579/db_check/redis_story
|
||||
server redis-story-db42 db_redis:6579 check inter 2000ms
|
||||
server db_redis_story db_redis:6579 check inter 2000ms
|
||||
|
||||
backend redis_sessions
|
||||
option httpchk GET http://monitor:5579/db_check/redis_sessions
|
||||
server redis-sess-db41 db_redis:6579 check inter 2000ms
|
||||
server db_redis_sessions db_redis:6579 check inter 2000ms
|
||||
|
||||
backend elasticsearch
|
||||
option httpchk GET http://monitor:5579/db_check/elasticsearch
|
||||
server es-search01 db_elasticsearch:9300 check inter 2000ms
|
||||
server db_elasticsearch db_elasticsearch:9300 check inter 2000ms
|
||||
|
||||
backend maintenance
|
||||
option httpchk HEAD /maintenance HTTP/1.1\r\nHost:\ www
|
||||
|
|
Loading…
Add table
Reference in a new issue