mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
add logspout
This commit is contained in:
parent
f4c99b7638
commit
a4073ce56d
@ -258,7 +258,7 @@ A collection of delicious docker recipes.
|
||||
- [x] elk
|
||||
- [x] ghost
|
||||
- [x] gitlab/gitlab-ce
|
||||
- [ ] gliderlabs/logspout
|
||||
- [x] gliderlabs/logspout
|
||||
- [x] gliderlabs/registrator
|
||||
- [ ] glot
|
||||
- [ ] bash
|
||||
|
4
logspout/README.md
Normal file
4
logspout/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
logspout
|
||||
========
|
||||
|
||||
https://github.com/gliderlabs/logspout
|
27
logspout/arm/Dockerfile
Normal file
27
logspout/arm/Dockerfile
Normal file
@ -0,0 +1,27 @@
|
||||
#
|
||||
# Dockerfile for logspout-arm
|
||||
#
|
||||
|
||||
FROM easypi/alpine-arm
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ENV LOGSPOUT_VER 3.2.5
|
||||
ENV LOGSPOUT_URL https://github.com/gliderlabs/logspout/archive/v${LOGSPOUT_VER}.tar.gz
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl tar \
|
||||
&& mkdir -p /src \
|
||||
&& curl -sSL ${LOGSPOUT_URL} | tar xz --strip 1 -C /src \
|
||||
&& cd /src \
|
||||
&& ./build.sh "$(cat VERSION)" \
|
||||
&& cd / \
|
||||
&& rm -rf /src \
|
||||
&& apk del curl tar
|
||||
|
||||
VOLUME /mnt/routes
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["/bin/logspout"]
|
||||
|
||||
ONBUILD COPY ./build.sh /src/build.sh
|
||||
ONBUILD COPY ./modules.go /src/modules.go
|
||||
ONBUILD RUN cd /src && chmod +x ./build.sh && sleep 1 && sync && ./build.sh "$(cat VERSION)-custom"
|
6
logspout/arm/docker-compose.yml
Normal file
6
logspout/arm/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
||||
logspout:
|
||||
image: easypi/logspout-arm
|
||||
command: syslog://10.50.254.182:514
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
restart: always
|
6
logspout/docker-compose.yml
Normal file
6
logspout/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
||||
logspout:
|
||||
image: gliderlabs/logspout
|
||||
command: syslog://10.50.254.182:514
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user