Skip to content
Snippets Groups Projects
Verified Commit a21ec72d authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Cleanup

parent 6371aca7
No related branches found
No related tags found
1 merge request!20Dockerise the monitoring
......@@ -6,6 +6,7 @@ __pycache__
plots/
logs/
pids/
pipeline.toml
backend/pipeline.toml
setenv.sh
supervisord.conf
.env
File moved
......@@ -32,7 +32,7 @@ supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
[program:ligiermirror]
command=ligiermirror -m "%(ENV_TAGS_TO_MIRROR)s" -t monitoring_ligier_1 -p %(ENV_DAQ_LIGIER_PORT)s %(ENV_DAQ_LIGIER_IP)s
command=ligiermirror -m %(ENV_TAGS_TO_MIRROR)s -t monitoring_ligier_1 -p %(ENV_DAQ_LIGIER_PORT)s %(ENV_DAQ_LIGIER_IP)s
priority=10
stdout_logfile=/logs/%(program_name)s.out.log ; stdout log path, NONE for none; default AUTO
stderr_logfile=/logs/%(program_name)s.err.log ; stderr log path, NONE for none; default AUTO
......
......@@ -9,7 +9,7 @@ services:
backend:
build: ./backend
env_file:
- monitoring.env
- .env
volumes:
- ./logs:/logs
- ./plots:/plots
......@@ -18,7 +18,7 @@ services:
frontend:
build: ./frontend
env_file:
- monitoring.env
- .env
volumes:
- ./logs:/logs
- ./plots:/plots
......
File moved
FROM python:3.8-alpine
FROM python:3.8.6
MAINTAINER Tamas Gal <tgal@km3net.de>
WORKDIR /frontend
ENV FLASK_APP=app
ENV FLASK_RUN_HOST=0.0.0.0
RUN apk add --no-cache gcc musl-dev linux-headers
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
EXPOSE 5000
COPY . .
CMD ["flask", "run"]
WORKDIR /frontend
ENV FLASK_APP=app
ENV FLASK_RUN_HOST=0.0.0.0
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
EXPOSE 5000
COPY . .
CMD ["flask", "run"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment