mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:02 +02:00
31 lines
533 B
Markdown
31 lines
533 B
Markdown
|
portia
|
||
|
======
|
||
|
|
||
|
![](https://badge.imagelayers.io/vimagick/portia:latest.svg)
|
||
|
|
||
|
[Portia][1] is a tool that allows you to visually scrape websites without any
|
||
|
programming knowledge required.
|
||
|
|
||
|
## docker-compose.yml
|
||
|
|
||
|
```yaml
|
||
|
portia:
|
||
|
image: vimagick/portia
|
||
|
container_name: portia
|
||
|
ports:
|
||
|
- "9001:9001"
|
||
|
volumes:
|
||
|
- ./data:/app/slyd/data
|
||
|
restart: always
|
||
|
```
|
||
|
|
||
|
## up and running
|
||
|
|
||
|
```bash
|
||
|
$ cd ~/fig/portia/
|
||
|
$ docker-compose up -d
|
||
|
$ firefox http://localhost:9001/static/index.html
|
||
|
```
|
||
|
|
||
|
[1]: https://github.com/scrapinghub/portia
|