Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
589133d2
Commit
589133d2
authored
9 years ago
by
Gabriel Engel
Browse files
Options
Downloads
Patches
Plain Diff
fixing default path for avatars
parent
e5c5daac
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+6
-3
6 additions, 3 deletions
Dockerfile
docker-compose.yml
+3
-2
3 additions, 2 deletions
docker-compose.yml
with
9 additions
and
5 deletions
Dockerfile
+
6
−
3
View file @
589133d2
...
...
@@ -3,8 +3,8 @@ FROM node:0.10
MAINTAINER
buildmaster@rocket.chat
RUN
apt-get update
\
&&
apt-get
install
-y
graphicsmagick
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
apt-get
install
-y
graphicsmagick
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
groupadd
-r
rocketchat
\
&&
useradd
-r
-g
rocketchat rocketchat
\
...
...
@@ -21,9 +21,12 @@ RUN curl -fSL "https://s3.amazonaws.com/rocketchatbuild/rocket.chat-v.latest.tgz
&&
cd
/app/bundle/programs/server
\
&&
npm
install
WORKDIR
/app/bundle
USER
rocketchat
RUN
mkdir
~/uploads
WORKDIR
/app/bundle
# needs a mongoinstance - defaults to container linking with alias 'db'
ENV
MONGO_URL=mongodb://db:27017/meteor \
PORT=3000 \
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
3
−
2
View file @
589133d2
...
...
@@ -8,10 +8,11 @@ db:
rocketchat
:
image
:
rocketchat/rocket.chat
environment
:
-
ROOT=3000
-
ROOT_URL=http://yourhost:3000
-
MONGO_URL=mongodb://db:27017/rocketchat
-
ROOT_URL=http://yourhost:8818
links
:
-
db:db
ports
:
-
8818
:3000
-
3000
:3000
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment