added proxy pool (#432)

This commit is contained in:
Ak4zh 2021-06-26 10:15:03 +05:30 committed by GitHub
parent 2e17337855
commit 0feb969544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
captainVersion: 4
services:
$$cap_appname-redis:
image: redis:$$cap_redis_version
volumes:
- $$cap_appname-cache-data:/app/data
caproverExtra:
notExposeAsWebApp: 'true'
$$cap_appname:
image: jhao104/proxy_pool:$$cap_app_version
depends_on:
- $$cap_appname-redis
restart: always
environment:
DB_CONN: redis://srv-captain--$$cap_appname-redis:6379/0
caproverExtra:
containerHttpPort: '5010'
caproverOneClickApp:
variables:
- id: $$cap_redis_version
label: Redis Docker version
defaultValue: 6-alpine
description: Check out their Docker page for the valid versions https://hub.docker.com/r/library/redis/tags
- id: $$cap_app_version
label: Proxy Pool version
defaultValue: '2.2.0'
description: https://hub.docker.com/r/jhao104/proxy_pool/tags
instructions:
start: Python crawler proxy IP pool (proxy pool)
end: Done! 😄 Your service is available at http://$$cap_appname.$$cap_root_domain
displayName: Proxy Pool
isOfficial: true
description: Python crawler proxy IP pool (proxy pool)
documentation: https://hub.docker.com/r/jhao104/proxy_pool

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB