1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

docker: add initial docker-compose, webagg Dockerfile

This commit is contained in:
Ilya Kreymer 2016-03-14 15:53:04 -07:00
parent 8dc59ef6bd
commit 58e8c709aa
2 changed files with 33 additions and 0 deletions

19
docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
version: '2'
services:
proxy:
build: ./proxy/
links:
- webagg:webagg
environment:
- "WEBAGG=http://webrecplatform_webagg_1:8080"
ports:
- 9080:9080
volumes:
- ${HOME}/.mitmproxy/:/root/.mitmproxy/
webagg:
build: ./webagg/

14
webagg/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python:3.5
WORKDIR /code/
RUN pip install -U git+https://github.com/ikreymer/pywb.git@develop#egg=pywb-0.30.0-develop
RUN pip install uwsgi gevent bottle
ADD . /code/webagg/
ADD ./test/ /code/test/
WORKDIR /code/
CMD uwsgi /code/test/live.ini