From e66b1c2c54f51c4267f2f73753e7f915033eac6d Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 2 Sep 2021 15:35:59 +0200 Subject: Upgrade Plume --- app/docker-compose.yml | 11 ++--------- app/plume/build/plume/Dockerfile | 2 +- app/plume/config/app.env | 2 ++ app/plume/deploy/plume.hcl | 4 ++-- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/app/docker-compose.yml b/app/docker-compose.yml index 4e75196..90f6a58 100644 --- a/app/docker-compose.yml +++ b/app/docker-compose.yml @@ -1,13 +1,6 @@ version: '3.4' services: - mariadb: - build: - context: ./seafile/build/mariadb - args: - VERSION: 4 # fake for now - image: superboum/amd64_mariadb:v4 - # Instant Messaging riot: build: @@ -81,8 +74,8 @@ services: build: context: ./plume/build/plume args: - VERSION: 5424f9110f8749eb7d9f01b44ac8074fc13e0e68 - image: superboum/plume:v3 + VERSION: 8c372aa6fcd05083601903d83b0fcb4915585a95 + image: superboum/plume:v4 postfix: build: diff --git a/app/plume/build/plume/Dockerfile b/app/plume/build/plume/Dockerfile index 4e1401d..0afe17d 100644 --- a/app/plume/build/plume/Dockerfile +++ b/app/plume/build/plume/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.47.0-slim-buster as builder +FROM rust:1.54.0-slim-bullseye as builder RUN apt-get update && \ apt-get install -y \ diff --git a/app/plume/config/app.env b/app/plume/config/app.env index 1c234e7..3dbf609 100644 --- a/app/plume/config/app.env +++ b/app/plume/config/app.env @@ -28,3 +28,5 @@ LDAP_USER_NAME_ATTR=cn LDAP_USER_MAIL_ATTR=mail LDAP_TLS=false +RUST_BACKTRACE=1 +RUST_LOG=info diff --git a/app/plume/deploy/plume.hcl b/app/plume/deploy/plume.hcl index 9709c3b..b1d5b9c 100644 --- a/app/plume/deploy/plume.hcl +++ b/app/plume/deploy/plume.hcl @@ -17,7 +17,7 @@ job "plume" { task "plume" { driver = "docker" config { - image = "superboum/plume:v3" + image = "superboum/plume:v4" network_mode = "host" ports = [ "web_port" ] #command = "cat" @@ -35,7 +35,7 @@ job "plume" { } resources { - memory = 100 + memory = 300 cpu = 100 } -- cgit v1.2.3