forked from PokemonGoF/PokemonGo-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose_tor.yml
41 lines (41 loc) · 894 Bytes
/
docker-compose_tor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '2'
services:
torproxy:
image: jess/tor-proxy
expose:
- "9050"
restart: "always"
privoxy:
image: jess/privoxy
links:
- torproxy
expose:
- "8118"
restart: "always"
bot1-pokego:
build: .
links:
- privoxy
environment:
- HTTPS_PROXY=privoxy:8118
- HTTP_PROXY=privoxy:8118
volumes:
- ./configs:/usr/src/app/configs
- ./data:/usr/src/app/data
- ./web:/usr/src/app/web
environment:
- TZ=Etc/UTC
stdin_open: true
tty: true
bot1-pokegoweb:
image: python:2.7-alpine
ports:
- "8000:8000"
volumes_from:
- bot1-pokego
volumes:
- ./web/config:/usr/src/app/web/config
working_dir: /usr/src/app/web
command: sh -c "echo 'Serving HTTP on 0.0.0.0 port 8000' && python -m SimpleHTTPServer > /dev/null 2>&1"
depends_on:
- bot1-pokego