add rush statistics yaml
This commit is contained in:
40
rush-statistics.yaml
Normal file
40
rush-statistics.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
cprush-loader-data:
|
||||||
|
driver: glustervols
|
||||||
|
name: "dvols/rushstats"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
cprush:
|
||||||
|
image: gitea.badgerbox.co/iambadgers/rushstats-server
|
||||||
|
environment:
|
||||||
|
- MEMCACHE_ADDR=memcache:11211
|
||||||
|
volumes:
|
||||||
|
- cprush-loader-data:/srv/cprush-stats/data
|
||||||
|
ports:
|
||||||
|
- 3005:3001
|
||||||
|
depends_on:
|
||||||
|
- memcache
|
||||||
|
- loader
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
loader:
|
||||||
|
image: gitea.badgerbox.co/iambadgers/rushstats-dataloader
|
||||||
|
environment:
|
||||||
|
- REPLAY_TIME=1800
|
||||||
|
volumes:
|
||||||
|
- cprush-loader-data:/loader/data
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
memcache:
|
||||||
|
image: memcached
|
||||||
|
command: ["memcached"]
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
replicas: 1
|
||||||
Reference in New Issue
Block a user