Commit graph

87 commits

Author SHA1 Message Date
Thomas Parisot 27bd5e8e6f fix: adjust to System.get_env signature (get_env(String.t(), String.t() | nil)) 2021-01-19 10:19:22 +01:00
Thomas Parisot f2c2a64975 Configure Instance PORT via an environment variable. 2021-01-16 18:42:59 +01:00
Thomas Citharel 5d30ba9380
Fix Docker build
Add webp support to the Docker build and remove scripty

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-13 14:38:04 +01:00
Ivan Vandot 13fb242c82 set permissions for /app/uploads for volume mount 2020-11-16 23:28:29 +01:00
Thomas Citharel 030f548f16
Integrate extensions creation in entry point
Requires postgresql-client to be added to the image

Closes #503

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-14 20:47:08 +01:00
Thomas Citharel 74fa9dca8c
Build docker from CI and move docker-compose config in another repo
https://framagit.org/framasoft/joinmobilizon/docker

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-09 10:04:55 +01:00
Thomas Citharel 7c7df4eaed
Remove README.md (see Documentation) and move to framasoft/mobilizon
image

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-31 12:12:43 +01:00
prichier 320c17a29d Fix overlay & enoent error on image uploads 2020-10-31 02:42:06 +01:00
Thomas Citharel 005470ba5b Introduce the mobilizon_ctl wrapper to easily call tasks inside releases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-31 02:42:06 +01:00
Thomas Citharel af6ed8a3c2 Make sure only "true" value is accepted to enable registrations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-31 02:42:06 +01:00
prichier f3cfc2e2ef Fix MOBILIZON_INSTANCE_HOST in env.template 2020-10-31 02:42:06 +01:00
prichier fccdadb95a Fix MR649 threads about env.template, pg port 2020-10-31 02:42:06 +01:00
prichier 751b72a434 Fix Mix.env use in prod app & MR threads 2020-10-31 02:42:06 +01:00
prichier 1acff2dd8a Mutli-stage build for production 2020-10-31 02:42:06 +01:00
prichier e945f48665 Add dockerfile and compose for production 2020-10-31 02:42:06 +01:00
Thomas Citharel 02becb14bd
Add exiftool to Docker image for CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-26 08:21:29 +01:00
Thomas Citharel d965997c78
Move docs to separate repo
See https://framagit.org/framasoft/joinmobilizon/documentation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 12:12:17 +02:00
Thomas Citharel f3566430a3
Introduce multi-lingual docs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 09:04:42 +02:00
Thomas Citharel 040aa56763
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 16:09:03 +02:00
Thomas Citharel 681737bf36
Fix mkdocs build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:33 +02:00
Thomas Citharel 4144e9ffd0
Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00
Thomas Citharel c16ab0c9a0
Refresh docker image for final mkdocs-git-revision-date-localized-plugin issue
https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/2#issuecomment-566199712

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 09:21:03 +01:00
Thomas Citharel 0750f06484
Remove mkdocs-git-revision-date-localized-plugin hack in CI
And rebuild docker image with new version

See https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/3

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-16 16:49:39 +01:00
Thomas Citharel de261cf334
Add a default limit participations of 10, fix dockerfile and lint some things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-15 22:42:38 +01:00
Thomas Citharel 4fab4e1d25
Move docs to mkdocs and improve them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-17 20:00:09 +01:00
Thomas Citharel 77d286ebb6
Introduce Cypress
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 18:28:18 +02:00
Thomas Citharel 3375b91234
Upgrade to Elixir 1.9
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-03 18:44:08 +02:00
Thomas Citharel 40338bdf77
Refresh Dockerfile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-24 14:28:21 +02:00
Vincent 040266a656 Don't use entrypoints in docker 2019-04-18 09:52:39 +02:00
Thomas Citharel 166979a297
Move to yarn
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-11 11:58:27 +02:00
Thomas Citharel 62ac18ea25
Update CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 17:14:49 +01:00
Thomas Citharel 6885c73aa8
Change configuration and docker compose
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-03 11:33:52 +01:00
Thomas Citharel 932837f7bb Introduce CI stages (front / back), mix format runs in parallel 2018-12-18 12:26:10 +01:00
Thomas Citharel 3ba4fb351e
Embed GeoIP database into Docker Image instead of downloading it each
time

Closes #42

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-18 11:24:22 +01:00
ty kayn 74ba3e0cb6 Add Makefile to setup things 2018-12-17 11:24:26 +01:00
Thomas Citharel b54dae7e15 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel c4cfb081e7 Add docker-compose dev
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-25 16:42:04 +02:00