Difference between revisions of "Loomio"

no edit summary
 
Line 19: Line 19:


Maintained in a private git repo at -> https://git.fosscommunity.in/community/access
Maintained in a private git repo at -> https://git.fosscommunity.in/community/access
== Deployment ==
We use [https://github.com/loomio/loomio-deploy/ loomio-deploy] for deployment with only the following diff (because we have other services running on the server we proxy via nginx):<syntaxhighlight lang="diff">
git diff
diff --git a/docker-compose.yml b/docker-compose.yml
index 0be5300..62a7f26 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -8,8 +8,8 @@ services:
    networks:
      - main
    ports:
-      - 80:80
-      - 443:443
+      - 127.0.0.1:8088:80
+      - 127.0.0.1:4443:443
    volumes:
      - ./nginx.conf:/etc/nginx/conf.d/custom.conf:ro
      - certs:/etc/nginx/certs
</syntaxhighlight>
We use Akshay's mail server for sending outbound mails. We have the following in .env
ALLOW_ROBOTS=1
FEATURES_EXPLORE_PUBLIC_GROUPS=1


== History ==
== History ==
Line 42: Line 70:
On 01/02/2019 our server was taken down by [https://scaleway.com Scaleway] quoting payment issues. Payment was failing even after updating the credit card details and following that our server got deleted without proper notifications from Scaleway's side. Screenshot of the email from Scaleway attached below. Fortunately we were provided with a snapshot of the server from which we were able to recover codema to a new server. The service was moved to  
On 01/02/2019 our server was taken down by [https://scaleway.com Scaleway] quoting payment issues. Payment was failing even after updating the credit card details and following that our server got deleted without proper notifications from Scaleway's side. Screenshot of the email from Scaleway attached below. Fortunately we were provided with a snapshot of the server from which we were able to recover codema to a new server. The service was moved to  


=== Loomio Deployment Reference ===
=== Loomio Deployment History ===


Initially loomio was deployed and updated on codema.fsci.org.in using this official guide - https://github.com/loomio/loomio-deploy.
Initially loomio was deployed and updated on codema.fsci.org.in using this official guide - https://github.com/loomio/loomio-deploy.
Currently loomio is deployed and updated on codema.in using the same official guide but differs on the fact that compose file uses [https://hub.docker.com/r/dannycarrera/nginx-proxy nginx-proxy] and additional parameter of VIRTUAL_HOST_ALIAS in the env file. The VIRTUAL_HOST_ALIAS is for redirecting www.codema.in queries to codema.in. We use the smtp server from nemo.libreinfra.org for sending outbound mails.
 
Then, for a while loomio was deployed and updated on codema.in using the same official guide but with difference on the fact that compose file used [https://hub.docker.com/r/dannycarrera/nginx-proxy nginx-proxy] and additional parameter of VIRTUAL_HOST_ALIAS in the env file. The VIRTUAL_HOST_ALIAS is for redirecting www.codema.in queries to codema.in. We used the smtp server from nemo.libreinfra.org for sending outbound mails.
 
The deployment from 2023 is documented above


=== Codema data migration process ===
=== Codema data migration process ===