Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractalis
Commits
7d9ab0cc
Commit
7d9ab0cc
authored
Nov 22, 2017
by
Sascha Herzinger
Browse files
moved docker files to own git repo
parent
ebf9a969
Changes
5
Hide whitespace changes
Inline
Side-by-side
Dockerfile-web
deleted
100644 → 0
View file @
ebf9a969
FROM buildpack-deps:stretch
WORKDIR /app
COPY . /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
r-base \
python3.5 \
python3.5-dev \
python3-pip \
python3-setuptools \
r-bioc-limma
RUN pip3 install wheel
RUN pip3 install -e /app --default-timeout 180
CMD ["python3", "fractalis/__init__.py"]
Dockerfile-worker
deleted
100644 → 0
View file @
ebf9a969
FROM buildpack-deps:stretch
WORKDIR /app
COPY . /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
r-base \
python3.5 \
python3.5-dev \
python3-pip \
python3-setuptools \
r-bioc-limma
RUN pip3 install wheel
RUN pip3 install -e /app --default-timeout 180
CMD ["celery", "worker", "-A", "fractalis:celery"]
docker-compose.yml
deleted
100644 → 0
View file @
ebf9a969
version
:
'
3'
services
:
web
:
build
:
context
:
.
dockerfile
:
Dockerfile-web
environment
:
-
FRACTALIS_CONFIG=${FRACTALIS_CONFIG}
-
REDIS_HOST=redis
-
RABBITMQ_HOST=rabbitmq
ports
:
-
'
5000:5000'
worker
:
build
:
context
:
.
dockerfile
:
Dockerfile-worker
environment
:
-
FRACTALIS_CONFIG=${FRACTALIS_CONFIG}
-
REDIS_HOST=redis
-
RABBITMQ_HOST=rabbitmq
redis
:
image
:
'
redis:alpine'
rabbitmq
:
image
:
'
rabbitmq:alpine'
setup.cfg
View file @
7d9ab0cc
[aliases]
[aliases]
test = pytest
test = pytest
[metadata]
description-file=README.md
[tool:pytest]
[tool:pytest]
addopts =
addopts =
--capture=no
--capture=no
--color=yes
--color=yes
--verbose
--verbose
testpaths = tests
testpaths = tests
setup.py
View file @
7d9ab0cc
...
@@ -6,7 +6,13 @@ from setuptools import find_packages
...
@@ -6,7 +6,13 @@ from setuptools import find_packages
setup
(
setup
(
name
=
'fractalis'
,
name
=
'fractalis'
,
packages
=
find_packages
(),
packages
=
find_packages
(),
author
=
'Sascha Herzinger'
,
author_email
=
'sascha.herzinger@uni.lu'
,
url
=
'https://git-r3lab.uni.lu/Fractalis/fractalis'
,
version
=
'0.1.1'
,
license
=
'Apache2'
,
include_package_data
=
True
,
include_package_data
=
True
,
python_requires
=
'>=3.4'
,
install_requires
=
[
install_requires
=
[
'Flask==0.12.2'
,
'Flask==0.12.2'
,
'flask-cors==3.0.3'
,
'flask-cors==3.0.3'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment