-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 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,20 @@ | ||
## | ||
# NAME : redsmin/proxy | ||
# VERSION : latest | ||
# DOCKER-VERSION : 1.5+ | ||
# DESCRIPTION : Sends emails using a JSON message sent through RabbitMQ and a template. | ||
# DEPENDENCIES : node:0.12-onbuild | ||
# TO_BUILD : docker build --pull=true --no-cache --rm -t redsmin/proxy:latest . | ||
# TO_SHIP : docker push redsmin/proxy:latest | ||
# TO_RUN : docker run -it --rm --name redsmin --link redis:redis -e REDSMIN_KEY=YOUR_REDMIN_KEY -e REDIS_URI="redis://redis:6379" redsmin-proxy | ||
## | ||
|
||
FROM node:0.12-onbuild | ||
|
||
MAINTAINER Francois-Guillaume Ribreau <[email protected]> | ||
|
||
RUN npm install redsmin -g | ||
|
||
ENV REDSMIN_KEY="" REDIS_URI=redis://redis:6379 REDIS_AUTH="" | ||
|
||
CMD REDSMIN_KEY=$REDSMIN_KEY REDIS_URI=$REDIS_URI REDIS_AUTH=$REDIS_AUTH redsmin |
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