Commit Graph

15 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