-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (40 loc) · 1.15 KB
/
docker-compose.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
services:
tor_privoxy:
container_name: tor_privoxy
restart: always
image: dockage/tor-privoxy:latest
ports:
- "9051:9051" # Tor control port
# - "8118:8118" # Privoxy
postgres_db:
image: 'postgres:14-alpine'
restart: 'always'
container_name: postgres_db
environment:
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: '1234'
POSTGRES_DB: 'postgres'
log_statement: "all"
volumes:
- ./postgres_data:/var/lib/postgresql/data
#ports:
# - '5432:5432' # postgresql
protestcrawler:
container_name: protestcrawler
build: "protestcrawler"
image: ${PROTESTCRAWLER_IMAGE_BUILD:-sfarhad/protestcrawler:4.0.0}
environment:
- DB_UPDATE_PERIOD=${DB_UPDATE_PERIOD}
volumes:
- ./protestcrawler/output:/app/output
telegrambot:
container_name: telegrambot
build: "telegrambot"
image: ${TELEGRAMBOT_IMAGE_BUILD:-sfarhad/telegrambot:4.0.0}
ports:
- '443:443' # telegram server communication
environment:
- IP_ADDRESS=${IP_ADDRESS}
- TG_BOT_TOKEN=${TG_BOT_TOKEN}
volumes:
- ./telegrambot/output:/app/output