forked from Deuxfleurs/infrastructure
Upgrade Plume
This commit is contained in:
parent
d40c41004d
commit
e66b1c2c54
4 changed files with 7 additions and 12 deletions
|
@ -1,13 +1,6 @@
|
||||||
version: '3.4'
|
version: '3.4'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
mariadb:
|
|
||||||
build:
|
|
||||||
context: ./seafile/build/mariadb
|
|
||||||
args:
|
|
||||||
VERSION: 4 # fake for now
|
|
||||||
image: superboum/amd64_mariadb:v4
|
|
||||||
|
|
||||||
# Instant Messaging
|
# Instant Messaging
|
||||||
riot:
|
riot:
|
||||||
build:
|
build:
|
||||||
|
@ -81,8 +74,8 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ./plume/build/plume
|
context: ./plume/build/plume
|
||||||
args:
|
args:
|
||||||
VERSION: 5424f9110f8749eb7d9f01b44ac8074fc13e0e68
|
VERSION: 8c372aa6fcd05083601903d83b0fcb4915585a95
|
||||||
image: superboum/plume:v3
|
image: superboum/plume:v4
|
||||||
|
|
||||||
postfix:
|
postfix:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -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 && \
|
RUN apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
|
|
|
@ -28,3 +28,5 @@ LDAP_USER_NAME_ATTR=cn
|
||||||
LDAP_USER_MAIL_ATTR=mail
|
LDAP_USER_MAIL_ATTR=mail
|
||||||
LDAP_TLS=false
|
LDAP_TLS=false
|
||||||
|
|
||||||
|
RUST_BACKTRACE=1
|
||||||
|
RUST_LOG=info
|
||||||
|
|
|
@ -17,7 +17,7 @@ job "plume" {
|
||||||
task "plume" {
|
task "plume" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
config {
|
config {
|
||||||
image = "superboum/plume:v3"
|
image = "superboum/plume:v4"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
ports = [ "web_port" ]
|
ports = [ "web_port" ]
|
||||||
#command = "cat"
|
#command = "cat"
|
||||||
|
@ -35,7 +35,7 @@ job "plume" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
memory = 100
|
memory = 300
|
||||||
cpu = 100
|
cpu = 100
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue