From d079fd934e405b27cb3742e10a308364ce400f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Thu, 26 Sep 2019 08:45:02 +0200 Subject: [PATCH] Bump version 0.04.2 --- Dockerfile | 10 +++++----- docker-compose.yml | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile index dbe9b3e..ad184c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM alpine:3.8 +FROM alpine:3 -ARG LUFI_VERSION=0.03.5 +ARG LUFI_VERSION=0.04.2 ENV GID=991 \ UID=991 \ @@ -15,9 +15,9 @@ ENV GID=991 \ POLICY_WHEN_FULL=warn LABEL description="lufi based on alpine" \ - tags="latest 0.03.5 0.03" \ + tags="latest 0.04.2 0.03.5 0.03" \ maintainer="xataz " \ - build_ver="201812081215" + build_ver="201909260845" RUN apk add --update --no-cache --virtual .build-deps \ build-base \ @@ -43,7 +43,7 @@ RUN apk add --update --no-cache --virtual .build-deps \ && cpan install Carton \ && git clone -b ${LUFI_VERSION} https://framagit.org/luc/lufi.git /usr/lufi \ && cd /usr/lufi \ - && echo "requires ''Mojo::mysql';" >> /usr/lufi/cpanfile \ + && echo "requires 'Mojo::mysql';" >> /usr/lufi/cpanfile \ && rm -rf cpanfile.snapshot \ && carton install \ && apk del .build-deps \ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..968acd9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3' +services: + lufi: + image: xataz/lufi + build: + context: . + environment: + - SECRET=5ec4e381e20ac79220fdba5ab71e4a83 + - CONTACT=your@contact.com + - MAX_DELAY=60 + ports: + - "8081:8081" + restart: always + volumes: + - db:/usr/lufi/data + - files:/usr/lufi/files + +volumes: + db: + files: +