-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added redis alpine based service with logs, updated compose with labe…
…ls and depends_on attributes
- Loading branch information
1 parent
750d26f
commit 66124bf
Showing
5 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG REDIS_VERSION=${REDIS_VERSION:-"6"} | ||
|
||
FROM redis:${REDIS_VERSION}-alpine | ||
MAINTAINER Luc Michalski <[email protected]> | ||
|
||
ARG REDIS_LOG_PREFIX_PATH=${REDIS_LOG_PREFIX_PATH:-"/var/log/redis"} | ||
|
||
RUN mkdir -p ${REDIS_LOG_PREFIX_PATH} && \ | ||
chown redis ${REDIS_LOG_PREFIX_PATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# General | ||
NAMESPACE="seoz" | ||
|
||
# Redis | ||
REDIS_VERSION="6" | ||
REDIS_USER="" | ||
REDIS_PASSWD="" | ||
REDIS_PORT="6379" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ __pycache__ | |
|
||
.env | ||
node_modules | ||
shared/logs/redis/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Seoz | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters