Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
beagle-rcache-image
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
market
beagle-rcache-image
Commits
60ee893f
Commit
60ee893f
authored
Mar 21, 2020
by
iamabhishek-dubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Exporter image
parent
bf69b7a6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
5 deletions
+65
-5
Dockerfile.exporter
Dockerfile.exporter
+2
-2
Makefile
Makefile
+11
-0
README.md
README.md
+50
-1
img/redis.png
img/redis.png
+0
-0
redisExpoter_config.properties
redisExpoter_config.properties
+2
-2
No files found.
Dockerfile.exporter
View file @
60ee893f
...
@@ -6,11 +6,11 @@ ARG REDIS_EXPORTER_VERSION="1.5.2"
...
@@ -6,11 +6,11 @@ ARG REDIS_EXPORTER_VERSION="1.5.2"
RUN apk add --no-cache curl ca-certificates && \
RUN apk add --no-cache curl ca-certificates && \
curl -fL -Lo /tmp/redis_exporter-v${REDIS_EXPORTER_VERSION}.linux-amd64.tar.gz \
curl -fL -Lo /tmp/redis_exporter-v${REDIS_EXPORTER_VERSION}.linux-amd64.tar.gz \
${EXPORTER_URL}/${REDIS_EXPORTER_VERSION}/redis_exporter-v${REDIS_EXPORTER_VERSION}.linux-amd64.tar.gz && \
${EXPORTER_URL}/
v
${REDIS_EXPORTER_VERSION}/redis_exporter-v${REDIS_EXPORTER_VERSION}.linux-amd64.tar.gz && \
cd /tmp && tar -xvzf redis_exporter-v${REDIS_EXPORTER_VERSION}.linux-amd64.tar.gz && \
cd /tmp && tar -xvzf redis_exporter-v${REDIS_EXPORTER_VERSION}.linux-amd64.tar.gz && \
mv redis_exporter-v${REDIS_EXPORTER_VERSION}.linux-amd64 redis_exporter
mv redis_exporter-v${REDIS_EXPORTER_VERSION}.linux-amd64 redis_exporter
FROM scratch
:latest
FROM scratch
MAINTAINER Opstree Solutions
MAINTAINER Opstree Solutions
...
...
Makefile
0 → 100644
View file @
60ee893f
build-redis-image
:
docker build
-t
opstree/redis:dev
-f
Dockerfile .
build-redis-exporter-image
:
docker build
-t
opstree/redis-exporter:dev
-f
Dockerfile.exporter .
setup-standalone-server-compose
:
docker-compose up
-f
docker-compose-standalone.yaml
-d
setup-cluster-compose
:
docker-compose up
-f
docker-compose.yaml
-d
README.md
View file @
60ee893f
# Redis
<p
align=
"left"
>
<img
src=
"./img/redis.png"
>
</p>
# Ot-Container-Kit (Redis)
I am a repo which have a production based Redis and Redis Expoer docker image codebase.
## Features
This image provides you below features:-
-
[X] Lightweight nature :- Images are quite low in terms of size which will improve your deployment process time.
-
[X] Security Compliant :- Images are security compliant i.e. It doesn't hold any vulnerable package.
-
[X] Best Practices :- We have tried to follow the best practices for writing the Docker images.
## Pre-requisites
Here are the list of pre-requisites which is required for development and setup purpose.
-
**Docker Engine**
-
**Docker Compose**
That's it
## Building Image
#### Redis Docker Image
```
shell
make build-redis-image
```
#### Redis Exporter Docker Image
```
shell
make build-redis-exporter-image
```
## Running Setup
#### For standalone server
```
shell
make setup-standalone-server-compose
```
#### For cluster setup
```
shell
make setup-cluster-compose
```
img/redis.png
0 → 100644
View file @
60ee893f
7.29 KB
redisExpoter_config.properties
View file @
60ee893f
image_name
=
'redisexporter'
image_name
=
'redisexporter'
image_registry='opstree'
image_registry='opstree'
image_version
=
'v1'
image_version
=
'v1'
Dockerfile='Dockerfile'
Dockerfile='Dockerfile
.exporter
'
registry_credential_id
=
dev_docker
registry_credential_id
=
dev_docker
image_repo_url
=
image_repo_url
=
slack_channel='docker'
slack_channel='docker'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment