refs 5541 Deploy fixes: clone zongi repo, compose cleanup
gitea/mylogger/pipeline/head There was a failure building this commit
Details
gitea/mylogger/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
32a1ba407d
commit
8480d70bab
|
@ -17,7 +17,8 @@ RUN apt-get update \
|
||||||
|
|
||||||
WORKDIR /mylogger
|
WORKDIR /mylogger
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
RUN npm install --only=prod
|
RUN npm install --only=prod \
|
||||||
|
&& git clone https://github.com/juan-ferrer-toribio/zongji.git
|
||||||
|
|
||||||
ARG BUILD_ID=unknown
|
ARG BUILD_ID=unknown
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
|
|
@ -7,17 +7,3 @@ services:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
- VERSION=${VERSION:?}
|
- VERSION=${VERSION:?}
|
||||||
configs:
|
|
||||||
- source: config
|
|
||||||
target: /mylogger/config.local.yml
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: 1G
|
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.role == worker
|
|
||||||
configs:
|
|
||||||
config:
|
|
||||||
external: true
|
|
||||||
name: mylogger_config
|
|
||||||
|
|
Loading…
Reference in New Issue