1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update redis-arm

This commit is contained in:
kev 2016-07-19 16:34:20 +08:00
parent 4ad6df34e4
commit f0f84759a3
4 changed files with 21 additions and 7 deletions

View File

@ -1,5 +1,5 @@
nodebb:
image: vimagick/nodebb-arm
image: easypi/nodebb-arm
ports:
- "4567:4567"
links:
@ -7,7 +7,7 @@ nodebb:
restart: always
redis:
image: vimagick/redis-arm
image: easypi/redis-arm
ports:
- "127.0.0.1:6379:6379"
restart: always

View File

@ -2,13 +2,12 @@
# Dockerfile for redis-arm
#
FROM vimagick/alpine-arm
MAINTAINER kev <noreply@easypi.info>
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -ex \
&& apk add -U redis \
&& sed -i 's/^daemonize yes/daemonize no/' /etc/redis.conf \
&& rm -rf /var/cache/apk/*
&& apk add --no-cache redis \
&& sed -i 's/^daemonize yes/daemonize no/' /etc/redis.conf
WORKDIR /var/lib/redis/
VOLUME /var/lib/redis/

View File

@ -1,2 +1,12 @@
redis-arm
=========
## docker-compose.yml
```yaml
redis:
image: easypi/redis-arm
ports:
- "6379:6379"
restart: always
```

View File

@ -0,0 +1,5 @@
redis:
image: easypi/redis-arm
ports:
- "6379:6379"
restart: always