Commit Graph

114 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
047ae78f19 Update README.md 2024-11-26 11:36:23 -05:00
Opliko
7f3a9968ef feat: docker improvements (#12031)
* use yarn and debian slim build

* feat: update Dockerfile to use multistage builds

* Create main.yml

* remove some useless things from docker context and assume yarn by default

* remove all dotfiles in docker context

* no need for extra build tools, complain to the module author if there is no alpine build

(cherry picked from commit 90516a3c8399e74c38be7115edb39411ba0d86b9)

* specify the config file location instead of creating it

(cherry picked from commit 38e4295d70682f1049fe671ade96eeccd669d908)

* set explicit config path

(cherry picked from commit 8dcc6f249d099cb8939a95511ec13702491958bc)

* fix docker-compose example to use the exposed volumes

* dockerfile: upgrade alpine to 3.16

* dockerignore: add more ignorable entries

* docker-compose: change the way the docker startup process works

* install: pass config path to child process as well

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* setup: move config file resolution up before setup

This fixes issue with different config file location, which will otherwise default on 'config.json', which means the config save won't save to the file we specified

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: don't fix CONFIG_DIR location but fix default location

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: handle missing config file logic

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* README: add simple notice on how to use it

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* add missing semicolons

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-compose: remove multi override, use one big profile instead

However, Docker Compose doesn't support profile-based dependency and this would probably means we have less guarantee about the liveness of the database. But since this is just a sample configuration it should be fine

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* workflows: remove main.yml, add platforms to buildx matrix in docker.yml

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* workflows: set docker buildx to build for amd64 and arm64 only

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: don't force build everytime before start

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: implement init verb

This would allow you to change between "setup" (automated setup using environmental variables which is the current preferred way to run containerized NodeBB) or "install" (web install that guides user to fill in connection information, which is similar to WordPress)

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* README: mention caveat with MongoDB

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* README: add Docker section placeholder for doc migration

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: add SETUP variable support

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-compose: add force flag to ln on setup

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-compose: fix permission issue; docker-compose: fast exit if still no permission on config dir

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* fix: remove redundant FROM

* docs: remove docker stuff (in favour of docs entry, nodebb/docs#78) but add link to cloud install docs

* fix: correctly check if directory is writable

* fix: ignore .docker directory

* fix: multi-arch docker builds and chown performance

* chore: bump database image versions

* fix: move from alpine to slim image

* fix: use omit=dev instead of only=prod

* feat: move entrypoint to install directory

* feat: initialize mongodb user

* feat: use separate rebuild stage

* fix: disable eslint for mongodb script

* fix: remove node_modules bind mount

bind mounts don't save data from container, resulting in a LOONG startup

* feat: prepopulate database defaults for installation

* feat: enable persistence in redis container

* docs: add some comments to the compose file

---------

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>
Co-authored-by: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com>
Co-authored-by: Steve Fan <19037626d@connect.polyu.hk>
Co-authored-by: Julian Lam <julian@nodebb.org>
2023-11-12 13:38:00 -05:00
Julian Lam
7599870f1d docs: update readme with new screenshot and updated copy for Harmony 2023-03-29 10:32:23 -04:00
Barış Soner Uşaklı
078bd4dd1f Update README.md 2022-11-04 19:34:33 -04:00
Julian Lam
659cfe853d chore: update to new transifex project url 2022-08-08 15:23:33 -04:00
Julian Lam
33c8b1971e docs: use social media card in readme header 2021-12-21 01:10:47 -05:00
Barış Soner Uşaklı
af5393ecdc chore: update readme mongodb version 2021-11-17 13:20:07 -05:00
Julian Lam
1a85aaad23 docs: add docs link higher up 2021-11-12 15:26:00 -05:00
Julian Lam
e325aa935a docs: update readme blurb 2021-11-12 15:23:46 -05:00
Barış Soner Uşaklı
a0f0dd021b chore: make it a link 2021-11-10 15:33:15 -05:00
Barış Soner Uşaklı
dad31c8ea2 chore: update badges, remove david doesnt work 2021-11-10 15:32:36 -05:00
Julian Lam
c5a48b44a5 docs: added link to unofficial IRC channel 2021-09-27 18:14:34 -04:00
Barış Soner Uşaklı
1c45fa1ba5 feat: socket.io 3 changes (#8845)
* feat: socket.io 3 changes

* feat: replace socketio-wildcard with socket.onAny

up socket.io-redis to 6.x

* feat: remove mongodb/psql socket.io adapters

* feat: show data on fail

* fix: tests

* fix: typo

* fix: logger test fix

* fix: logger.io_close

* chore: up deps

* chore: update readme to reflect redis requirement

* fix: increase timeout show data if test fails
2020-12-06 13:03:33 -05:00
Julian Lam
2d29e603bd fix: update readme to include psql 2020-10-28 07:51:17 -04:00
Julian Lam
ff4fcc23b6 Update bundled logos with new branding (#8702)
* feat: updating logo assets, square logos missing still

* fix: squared logo for touch icon and notification fallback

* fix: update link to favicon

* feat: add default touch icon sizes, if one isn't uploaded

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-10-18 01:41:04 -04:00
Barış Soner Uşaklı
48a9b5d66e update logo 2020-10-15 17:31:03 -04:00
Julian Lam
d3951ebeaf fix: updating minimum node version in readme 2020-09-30 14:56:30 -04:00
Barış Soner Uşaklı
9869064ec5 feat: update readme 2020-07-24 10:02:07 -04:00
RoiEX
6fdd486589 Update Node version 2019-04-10 13:36:57 -04:00
ChngYekKhai
0fae083ada Typo fixing(README) (#6681) 2018-08-01 07:07:39 -04:00
Julian Lam
a19b5477c4 removed gitter badge 2018-05-30 15:16:53 -04:00
Jared Dillard
117c313791 Remove ReadTheDocs.org badge from README
According to the docs, it is no longer hosted there.
2018-05-30 15:12:49 -04:00
Barış Soner Uşaklı
e1ae0500af Update README.md 2017-11-21 14:40:01 -05:00
Chế Tiệp Chân Khoa
2b99fb0c38 update node version requirement on README (#6025) 2017-11-01 08:20:04 -04:00
Jan
c86cb12d0f Fix update link in README.md, fixes #5838 2017-07-19 15:17:55 +02:00
Barış Soner Uşaklı
af4c0de476 closes #5763 2017-06-20 10:17:58 -04:00
Julian Lam
68205beea8 some tweaks to the readme 2016-11-24 11:30:45 -05:00
Barış Soner Uşaklı
94a1fe9363 update nodejs version 2016-10-26 20:49:17 +03:00
Barış Soner Uşaklı
93a3f0f6c5 Update README.md 2016-10-16 22:54:31 +03:00
Yami
0d5547c25e chore: add coveralls badge to readme. This will require someone inside the org to go into coveralls and enable it, but it'll appear when they do 2016-10-14 16:12:41 +00:00
Anil Mandepudi
92f96883e5 remove link to roadmap (#5089)
the page hasn't been updated in a year.
2016-10-07 16:33:17 -04:00
Barış Soner Uşaklı
ebbfe3cc1f Update README.md 2016-08-15 20:21:32 +03:00
psychobunny
d0cd73f663 updated blurb 2015-09-04 21:29:26 -04:00
psychobunny
4ff1d6c088 because github SEO is good for you 2015-09-04 21:26:26 -04:00
Julian Lam
7e6703c18e more line ending conversion #3343 2015-07-21 11:23:16 -04:00
Julian Lam
1fef40eb6f updated readme, as oer #3178 2015-06-09 13:30:22 -04:00
Julian Lam
9ed88b7bb9 updated readme a bit 2015-05-23 22:08:28 -04:00
Barış Soner Uşaklı
9165da3b26 Update README.md 2015-05-21 17:19:21 -04:00
psychobunny
6c5c8ceeee closes #2859 2015-04-01 16:32:57 -04:00
Julian Lam
9d5daa0bf4 Update README.md 2014-12-28 22:53:17 -05:00
The Gitter Badger
3019023d38 Added Gitter badge 2014-12-22 04:13:58 +00:00
psychobunny
2c555687e7 removed old copy from when we used to have ubuntu instructions on the main page 2014-10-29 01:55:26 -04:00
Barış Soner Uşaklı
43ca61de8c Update README.md 2014-09-01 14:42:11 -04:00
psychobunny
8f3f409e0f documentation status badge 2014-08-27 16:27:55 -04:00
nchase
01f5acea9b fix link to travis-ci build in README.md 2014-08-17 23:34:08 -04:00
psychobunny
1cd2f060aa #1892 2014-07-24 18:34:18 -04:00
Barış Soner Uşaklı
3e7420333d Update README.md 2014-07-21 14:19:31 -04:00
Barış Soner Uşaklı
2bdf9713c9 Update README.md 2014-07-05 15:05:09 -04:00
xizhao
c7897250bd Add LICENSE information to Readme.md & summary 2014-06-24 14:42:08 -04:00
psychobunny
7895bf3e2f updated logo again 2014-05-23 15:34:20 -04:00