Commit 9a8fb231 authored by kaiyou's avatar kaiyou

Add a build pipeline

parent 016e007e
Pipeline #130 passed with stage
in 1 minute and 46 seconds
Dockerfile
\ No newline at end of file
FROM python:3
COPY . /app
WORKDIR /app
RUN pip install -r requirements-prod.txt \
&& useradd amonit
USER amonit
ENV AMONIT_CONFIG /amonit.yaml
CMD celery -A amonit worker -B -s /tmp/schedule
\ No newline at end of file
version: "3"
services:
amonit:
image: amonit
volumes:
- ./amonit.yaml:/amonit.yaml
redis:
image: redis:latest
amqp==2.4.1
billiard==3.5.0.5
celery==4.2.1
certifi==2018.11.29
chardet==3.0.4
idna==2.8
Jinja2==2.10
kombu==4.3.0
MarkupSafe==1.1.1
matrix-client==0.3.2
pytz==2018.9
PyYAML==3.13
redis==3.2.0
requests==2.21.0
urllib3==1.24.1
vine==1.2.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment