Skip to content

Commit a951f48

Browse files
committed
First commit
1 parent bf860c6 commit a951f48

3 files changed

Lines changed: 81 additions & 1 deletion

File tree

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Dockerfile
2+

Dockerfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
FROM node:0.10.39
2+
3+
MAINTAINER pierre@ozoux.net
4+
5+
RUN groupadd -r rocketchat \
6+
&& useradd -r -g rocketchat rocketchat
7+
8+
# gpg: key 4FD08014: public key "Rocket.Chat Buildmaster <buildmaster@rocket.chat>" imported
9+
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0E163286C20D07B9787EBE9FD7F9D0414FD08104
10+
11+
ENV RC_VERSION v0.4.0
12+
13+
RUN curl -fSL "https://rocket.chat/dists/$RC_VERSION/rocket.chat-$RC_VERSION.tgz" -o rocket.chat.tgz \
14+
&& curl -fSL "https://rocket.chat/dists/$RC_VERSION/rocket.chat-$RC_VERSION.tgz.asc" -o rocket.chat.tgz.asc \
15+
&& gpg --verify rocket.chat.tgz.asc \
16+
&& tar zxvf ./rocket.chat.tgz \
17+
&& rm ./rocket.chat.tgz
18+
19+
WORKDIR /app/bundle/programs/server
20+
RUN npm install
21+
22+
WORKDIR /app/bundle
23+
USER rocketchat
24+
ENV MONGO_URL=mongodb://db:27017/meteor
25+
ENV PORT=3000
26+
EXPOSE 3000
27+
CMD ["node", "main.js"]
28+

README.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,52 @@
1-
# Official Image Here
1+
# Official Rocket.Chat image
2+
3+
## Supported tags and respective `Dockerfile` links
4+
5+
- [`0.4.0`, `latest` (*Dockerfile*)](https://github.com/RocketChat/Docker.Official.Image/blob/master/Dockerfile)
6+
7+
For more information about this image and its history, please see the [relevant manifest file (`library/Rocket.Chat`)](https://github.com/docker-library/official-images/blob/master/library/Rocket.Chat) in the [`docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images).
8+
9+
## Rocket.Chat
10+
11+
Rocket.Chat is a Web Chat Server, developed in JavaScript, using the Meteor fullstack framework.
12+
13+
It is a great solution for communities and companies wanting to privately host their own chat service or for developers looking forward to build and evolve their own chat platforms.
14+
15+
![Rocket.Chat logo](https://rocket.chat/images/logo/logo-dark.svg?v2)
16+
17+
## How to use this image
18+
19+
First, start an instance of mongo:
20+
21+
docker run --name db -d mongo mongod --smallfiles
22+
23+
Then start Rocket.Chat linked to this mongo instance:
24+
25+
docker run --name rocketchat --env ROOT_URL=http://localhost --link db Rocket.Chat
26+
27+
This will start a Ghost instance listening on the default Ghost port of 3000.
28+
29+
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:
30+
31+
docker run --name rocketchat -p 80:3000 --env ROOT_URL=http://localhost --link db:db -d Rocket.Chat
32+
33+
Then, access it via `http://localhost:80` or `http://host-ip:80` in a browser.
34+
35+
## User Feedback
36+
37+
### Documentation
38+
39+
Documentation for this image is stored in the [`Rocket.Chat/` directory](https://github.com/docker-library/docs/tree/master/Rocket.Chat) of the [`docker-library/docs` GitHub repo](https://github.com/docker-library/docs). Be sure to familiarize yourself with the [repository's `README.md` file](https://github.com/docker-library/docs/blob/master/README.md) before attempting a pull request.
40+
41+
### Issues
42+
43+
If you have any problems with or questions about this image, please contact us through a [GitHub issue](https://github.com/RocketChat/Docker.Official.Image/issues).
44+
45+
You can also reach many of the official image maintainers via the `#docker-library` IRC channel on [Freenode](https://freenode.net).
46+
47+
### Contributing
48+
49+
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
50+
51+
Before you start to code, we recommend discussing your plans through a [GitHub issue](https://github.com/RocketChat/Docker.Official.Image/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
252

0 commit comments

Comments
 (0)