Update docker configuration files with new project name

This commit is contained in:
Jérémie Astori 2016-02-10 05:02:31 +00:00
parent ee508ac1cc
commit df68a1b8f0
2 changed files with 9 additions and 9 deletions

View File

@ -5,21 +5,21 @@
FROM node:4.0-onbuild FROM node:4.0-onbuild
# Create a non-root user for shout to run in. # Create a non-root user for lounge to run in.
RUN useradd --create-home shout RUN useradd --create-home lounge
# Needed for setup of Node.js # Needed for setup of Node.js
ENV HOME /home/shout ENV HOME /home/lounge
# Customize this to specify where Shout puts its data. # Customize this to specify where The Lounge puts its data.
# To link a data container, have it expose /home/shout/data # To link a data container, have it expose /home/lounge/data
ENV SHOUT_HOME /home/shout/data ENV LOUNGE_HOME /home/lounge/data
# Expose HTTP # Expose HTTP
EXPOSE 9000 EXPOSE 9000
# Drop root. # Drop root.
USER shout USER lounge
# Don't use an entrypoint here. It makes debugging difficult. # Don't use an entrypoint here. It makes debugging difficult.
CMD node index.js --home $SHOUT_HOME CMD node index.js --home $LOUNGE_HOME

View File

@ -1,4 +1,4 @@
shout: lounge:
build: . build: .
ports: ports:
- "9000:9000" - "9000:9000"