Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightweight local environment (laptop friendly) #171

Merged
merged 11 commits into from
Jan 30, 2025
Merged

Lightweight local environment (laptop friendly) #171

merged 11 commits into from
Jan 30, 2025

Conversation

pm-McFly
Copy link
Collaborator

@pm-McFly pm-McFly commented Jan 27, 2025

A simple docker-compose with:

  • synapse
  • tom
  • sqlite
  • haproxy
  • default users
  • local domain + ssl termination

More details in https://github.com/linagora/ToM-server/blob/compose-dev/docker.md

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

devskim found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

	This compose is tailored to deploy the lightest environment
possible. It only deploy mandatory services and uses SQLite as db
engine.

	TODO:
	  - [ ] tchat web flutter frontend

Signed-off-by: Pierre 'McFly' Marty <[email protected]>
	Twake Chat flutter web is now deployed as a container. The
latest available image is used.

Signed-off-by: Pierre 'McFly' Marty <[email protected]>
	added:
	  - dwho / dwho
	  - rtyler / rtyler
	  - jbinks / jbinks

Signed-off-by: Pierre 'McFly' Marty <[email protected]>
	Adds more details about the available configuration variables
and how to fire up a working local environment.

Signed-off-by: Pierre 'McFly' Marty <[email protected]>
Signed-off-by: Pierre 'McFly' Marty <[email protected]>
Signed-off-by: Pierre 'McFly' Marty <[email protected]>
Signed-off-by: Pierre 'McFly' Marty <[email protected]>
@pm-McFly pm-McFly self-assigned this Jan 29, 2025
@pm-McFly pm-McFly added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 29, 2025
	Using TOM_EXTRA_DEPS one is allowed to install a possibly
missing dependency during docker build.

	e.g. for compose we need sqlite3

Signed-off-by: Pierre 'McFly' Marty <[email protected]>
	This commit removes the use of TOM_EXTRA_DEPS and uses npm
explore to finalize the installation of sqlite3, producing a lighter
docker image ~350MB.

Signed-off-by: Pierre 'McFly' Marty <[email protected]>
@rezk2ll rezk2ll merged commit 427dba0 into master Jan 30, 2025
8 of 9 checks passed
@pm-McFly pm-McFly deleted the compose-dev branch January 30, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants