Commit Graph

25 Commits

Author SHA1 Message Date
Thomas Citharel
e1cbfa98af
Upgrade dockerfiles to use node 16 and refresh CI image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-19 11:35:19 +02:00
Thomas Citharel
18279f964b
Fix building Docker images on master
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-23 19:12:52 +02:00
Thomas Citharel
c023ba63fe
Add org.opencontainers.image.source annotation to the Docker image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-23 19:12:42 +02:00
Thomas Citharel
bdbc473715
Add support/ in Docker image
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-22 17:28:03 +02:00
Thomas Citharel
730e2748d5
Fix Docker releases not starting anymore
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-30 14:36:29 +02:00
Thomas Citharel
23a94a1124
Fix docker build (again)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-15 14:57:08 +01:00
Thomas Citharel
4d47b73de2
Fix docker build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-15 12:52:38 +01:00
Thomas Citharel
239457a219
Releases fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-15 10:34:03 +01:00
Thomas Citharel
496debd6f3
Change everything for releases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-10 14:39:09 +01:00
Thomas Citharel
4d87541d96
Stick to stable version of the Docker base images
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-05 15:19:17 +01:00
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