プレイグラウンド、サンドボックス、使い捨てスクリプト置き場
0

Configure Feed

Select the types of activity you want to include in your feed.

Add 'redis-commander/' from commit '497cb166813972e4e2303e50fe75726b43c6494a'

git-subtree-dir: redis-commander
git-subtree-mainline: bb126f221e177d1231e1cb0ad8c7889b0036bc95
git-subtree-split: 497cb166813972e4e2303e50fe75726b43c6494a

Kohei Watanabe (Jul 21, 2020, 12:42 AM +0900) 30663abe bb126f22

+44
+3
redis-commander/Dockerfile
··· 1 + FROM rediscommander/redis-commander 2 + COPY entrypoint.sh / 3 + ENTRYPOINT ["/entrypoint.sh"]
+12
redis-commander/docker-compose.yml
··· 1 + version: "3" 2 + services: 3 + redis: 4 + image: redis:alpine 5 + app: 6 + build: "." 7 + ports: ["8081:8081"] 8 + links: [redis] 9 + environment: 10 + - FLY_REDIS_CACHE_URL=redis://redis 11 + - HTTP_USER 12 + - HTTP_PASSWORD
+8
redis-commander/entrypoint.sh
··· 1 + #!/bin/sh 2 + set -e 3 + export PORT=${PORT:-8080} 4 + REDIS_HOST=`node -p "new URL('${FLY_REDIS_CACHE_URL}').hostname"` 5 + REDIS_PORT=`node -p "new URL('${FLY_REDIS_CACHE_URL}').port"` 6 + REDIS_PASSWORD=`node -p "new URL('${FLY_REDIS_CACHE_URL}').password"` 7 + export REDIS_HOST=${REDIS_HOST:-localhost} REDIS_PORT=${REDIS_PORT:-6379} REDIS_PASSWORD 8 + /redis-commander/docker/entrypoint.sh "$@"
+21
redis-commander/fly.toml
··· 1 + app = "redis-commander-example" 2 + 3 + [[services]] 4 + internal_port = 8080 5 + protocol = "tcp" 6 + 7 + [services.concurrency] 8 + hard_limit = 25 9 + soft_limit = 20 10 + 11 + [[services.ports]] 12 + handlers = ["http"] 13 + port = "80" 14 + 15 + [[services.ports]] 16 + handlers = ["tls", "http"] 17 + port = "443" 18 + 19 + [[services.tcp_checks]] 20 + interval = 10000 21 + timeout = 2000