aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2021-01-07 11:09:29 +0100
committerQuentin <quentin@deuxfleurs.fr>2021-01-07 11:09:29 +0100
commitba3d84a1de4d392a22b66d90de21876720391728 (patch)
tree56ded70580a4b6a59d0f03e01fad9fda4224c30b
parent7508a10a718f9be8eeef1fcf66fad855ce0654c1 (diff)
downloadinfrastructure-ba3d84a1de4d392a22b66d90de21876720391728.tar.gz
infrastructure-ba3d84a1de4d392a22b66d90de21876720391728.zip
Upgrade plume
-rw-r--r--app/build/docker-compose.yml4
-rw-r--r--app/build/plume/Dockerfile4
-rw-r--r--app/deployment/plume.hcl2
3 files changed, 4 insertions, 6 deletions
diff --git a/app/build/docker-compose.yml b/app/build/docker-compose.yml
index de2c229..ea5deac 100644
--- a/app/build/docker-compose.yml
+++ b/app/build/docker-compose.yml
@@ -80,8 +80,8 @@ services:
build:
context: ./plume
args:
- VERSION: 0cd26dfbf4ab7be467325ed77230cf371147a98e
- image: superboum/plume:v1
+ VERSION: 0.6.0
+ image: superboum/plume:v2
postfix:
build:
diff --git a/app/build/plume/Dockerfile b/app/build/plume/Dockerfile
index 9199e1e..4e05424 100644
--- a/app/build/plume/Dockerfile
+++ b/app/build/plume/Dockerfile
@@ -19,7 +19,7 @@ RUN apt-get update && \
ARG VERSION
WORKDIR /opt
-RUN git clone -n https://git.deuxfleurs.fr/Deuxfleurs/plume.git
+RUN git clone -n https://git.joinplu.me/Plume/Plume.git plume
WORKDIR /opt/plume
RUN git checkout ${VERSION}
@@ -52,5 +52,3 @@ COPY --from=builder /usr/local/cargo/bin/plume /usr/local/bin/
COPY plm-start /usr/local/bin/
CMD ["plm-start"]
-
-EXPOSE 7878
diff --git a/app/deployment/plume.hcl b/app/deployment/plume.hcl
index 59ec28a..1bdc332 100644
--- a/app/deployment/plume.hcl
+++ b/app/deployment/plume.hcl
@@ -17,7 +17,7 @@ job "plume" {
task "plume" {
driver = "docker"
config {
- image = "superboum/plume:v1"
+ image = "superboum/plume:v2"
network_mode = "host"
ports = [ "web_port" ]
#command = "cat"