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:
|
||||
context: ./plume
|
||||
args:
|
||||
VERSION: 0cd26dfbf4ab7be467325ed77230cf371147a98e
|
||||
image: superboum/plume:v1
|
||||
VERSION: 0.6.0
|
||||
image: superboum/plume:v2
|
||||
|
||||
postfix:
|
||||
build:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue