Upgrade plume

This commit is contained in:
Quentin 2021-01-07 11:09:29 +01:00
parent 7508a10a71
commit ba3d84a1de
3 changed files with 4 additions and 6 deletions

View file

@ -80,8 +80,8 @@ services:
build: build:
context: ./plume context: ./plume
args: args:
VERSION: 0cd26dfbf4ab7be467325ed77230cf371147a98e VERSION: 0.6.0
image: superboum/plume:v1 image: superboum/plume:v2
postfix: postfix:
build: build:

View file

@ -19,7 +19,7 @@ RUN apt-get update && \
ARG VERSION ARG VERSION
WORKDIR /opt 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 WORKDIR /opt/plume
RUN git checkout ${VERSION} 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/ COPY plm-start /usr/local/bin/
CMD ["plm-start"] CMD ["plm-start"]
EXPOSE 7878

View file

@ -17,7 +17,7 @@ job "plume" {
task "plume" { task "plume" {
driver = "docker" driver = "docker"
config { config {
image = "superboum/plume:v1" image = "superboum/plume:v2"
network_mode = "host" network_mode = "host"
ports = [ "web_port" ] ports = [ "web_port" ]
#command = "cat" #command = "cat"