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
133fec8e
Unverified
Commit
133fec8e
authored
8 years ago
by
Aaron Ogle
Browse files
Options
Downloads
Patches
Plain Diff
Brought over @Sing-Li work with caddy and db backup
parent
3bdb3c7c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.snapcraft/edge/snapcraft.yaml
+0
-69
0 additions, 69 deletions
.snapcraft/edge/snapcraft.yaml
.snapcraft/snapcraft.yaml
+46
-17
46 additions, 17 deletions
.snapcraft/snapcraft.yaml
with
46 additions
and
86 deletions
.snapcraft/edge/snapcraft.yaml
deleted
100644 → 0
+
0
−
69
View file @
3bdb3c7c
#
# Easiest way to work with this file, from an updated Ubuntu 16.04 LTS image
# 1. create a non-root user with sudo priv and perform following steps as non-root
# 2. `sudo apt-get update`
# 3. `sudo apt-get install snapcraft python build-essential`
# 4. `snapcraft stage`
# 5. `snapcraft snap`
name
:
rocketchat-server
version
:
0.50.0-develop
summary
:
Rocket.Chat server
description
:
Have your own Slack like online chat, built with Meteor. https://rocket.chat/
confinement
:
strict
apps
:
rocketchat-server
:
command
:
env BABEL_CACHE_DIR=/tmp ROOT_URL=http://localhost PORT=3000 MONGO_URL=mongodb://localhost:27017/parties Accounts_AvatarStorePath=$SNAP_COMMON/uploads node $SNAP/main.js
daemon
:
simple
plugs
:
[
network
,
network-bind
]
rocketchat-mongo
:
command
:
env LC_ALL=C mongod --bind_ip 127.0.0.1 --smallfiles --dbpath=$SNAP_COMMON
daemon
:
simple
plugs
:
[
network
,
network-bind
]
parts
:
node
:
plugin
:
nodejs
node-engine
:
4.7.1
node-packages
:
-
promise
-
fibers
-
underscore
-
source-map-support
-
semver
build-packages
:
# For fibers
-
python
-
build-essential
-
nodejs
organize
:
lib/node_modules
:
node_modules
rocketchat-server
:
plugin
:
dump
after
:
[
mongodb
]
source
:
https://rocket.chat/releases/develop/download
source-type
:
tar
stage-packages
:
-
graphicsmagick
stage
:
-
programs
-
main.js
-
usr
-
lib
snap
:
-
programs
-
main.js
-
usr
-
lib
mongodb
:
source
:
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.2.7.tgz
plugin
:
dump
stage-packages
:
-
libssl1.0.0
stage
:
-
usr
-
bin
-
lib
snap
:
-
usr
-
bin
-
lib
This diff is collapsed.
Click to expand it.
.snapcraft/
stable/
snapcraft.yaml
→
.snapcraft/snapcraft.yaml
+
46
−
17
View file @
133fec8e
...
...
@@ -13,57 +13,86 @@ description: Have your own Slack like online chat, built with Meteor. https://ro
confinement
:
strict
apps
:
rocketchat-server
:
command
:
env BABEL_CACHE_DIR=/tmp ROOT_URL=http://localhost PORT=3000 MONGO_URL=mongodb://localhost:27017/parties Accounts_AvatarStorePath=$SNAP_COMMON/uploads node $SNAP/main.js
command
:
env BABEL_CACHE_DIR=/tmp ROOT_URL=http://localhost PORT=3000 MONGO_URL=mongodb://localhost:27017/parties Accounts_AvatarStorePath=$SNAP_COMMON/uploads
MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rcreplset
node $SNAP/main.js
daemon
:
simple
plugs
:
[
network
,
network-bind
]
rocketchat-mongo
:
command
:
env LC_ALL=C mongo
d --bind_ip 127.0.0.1 --smallfiles --dbpath=$SNAP_COMMON
command
:
env LC_ALL=C
start
mongo
daemon
:
simple
plugs
:
[
network
,
network-bind
]
rocketchat-caddy
:
command
:
env LC_ALL=C caddy -conf=$SNAP_DATA/Caddyfile -host=localhost:8080
daemon
:
simple
plugs
:
[
network
,
network-bind
]
backupdb
:
command
:
env LC_ALL=c rcbackup
plugs
:
[
network
]
initcaddy
:
command
:
env LC_ALL=c initcaddy
parts
:
node
:
plugin
:
nodejs
node-engine
:
4.7.1
node-engine
:
4.7.0
after
:
[
mongodb
]
node-packages
:
-
minimax
-
bcrypt
-
promise
-
meteor-promise
-
fibers
-
underscore
-
source-map-support
-
semver
build-packages
:
# For fibers
-
python
-
build-essential
-
nodejs
organize
:
lib/node_modules
:
node_modules
rocketchat-server
:
stage
:
-
bin
-
node_modules
snap
:
-
bin
-
node_modules
mongodb
:
plugin
:
dump
after
:
[
mongodb
]
source
:
https://rocket.chat/releases/latest/download
source-type
:
tar
stage-packages
:
-
graphicsmagick
-
mongodb-server
-
libtcmalloc-minimal4
-
mongodb-clients
-
libssl1.0.0
stage
:
-
programs
-
main.js
-
usr
-
etc
-
lib
snap
:
-
programs
-
main.js
-
usr
-
etc
-
lib
mongodb
:
source
:
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.2.7.tgz
scripts
:
plugin
:
dump
stage-packages
:
-
libssl1.0.0
stage
:
-
usr
-
bin
-
lib
source
:
bin/
organize
:
rcbackup
:
bin/rcbackup
startmongo
:
bin/startmongo
initmongo
:
bin/initmongo
Caddyfile
:
bin/Caddyfile
initcaddy
:
bin/initcaddy
initmongoreplset.js
:
bin/initmongoreplset.js
snap
:
-
usr
-
bin
-
lib
caddy
:
plugin
:
go
go-importpath
:
github.com/mholt/caddy
source
:
https://github.com/mholt/caddy
source-type
:
git
source-commit
:
53e117802fedd5915eeb32907873d8786a4b2936
snap
:
-
bin/caddy
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