forked from Deuxfleurs/infrastructure
Upgrade plume
This commit is contained in:
parent
7508a10a71
commit
ba3d84a1de
3 changed files with 4 additions and 6 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue