mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-28 16:42:29 +01:00
docker: add initial docker-compose, webagg Dockerfile
This commit is contained in:
parent
8dc59ef6bd
commit
58e8c709aa
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal 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
14
webagg/Dockerfile
Normal 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
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user