forked from scieloorg/publication_stats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incluindo arquivos de Docker e Supervisor
- Loading branch information
1 parent
5804e84
commit a34123a
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ FROM python:3.5.2 | |
|
||
MAINTAINER [email protected] | ||
|
||
RUN apt-get update && apt-get install -y supervisor | ||
RUN mkdir -p /var/log/supervisor | ||
|
||
COPY requirements.txt /app/requirements.txt | ||
COPY production.ini-TEMPLATE /app/production.ini-TEMPLATE | ||
COPY docker/generate_production_ini.py /app/docker/generate_production_ini.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[supervisord] | ||
nodaemon=true | ||
|
||
[program:publicationstats_api] | ||
command=gunicorn --paste production.ini -w 4 -b 0.0.0.0 | ||
|
||
[program:publicationstats_thriftserver] | ||
command=publicationstats_thriftserver --port 11620 --host 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ thriftpy==0.3.1 | |
pyramid==1.5.7 | ||
-e git+https://github.com/scieloorg/[email protected]#egg=xylose | ||
-e git+https://github.com/scieloorg/[email protected]#egg=thriftpywrap | ||
-e git+https://github.com/scieloorg/publication_stats@docker#egg=publication_stats | ||
-e git+https://github.com/scieloorg/publication_stats@0.6.5#egg=publication_stats |