-
-
Notifications
You must be signed in to change notification settings - Fork 300
/
compose.yml
46 lines (43 loc) · 1.23 KB
/
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
41
42
43
44
45
46
version: '3'
services:
chrome:
image: selenium/standalone-chrome:latest
shm_size: 6gb
restart: unless-stopped
ports:
- "7900:7900"
- "4444:4444"
environment:
SE_VNC_VIEW_ONLY: '1'
SE_EVENT_BUS_PUBLISH_PORT: '4442'
SE_EVENT_BUS_SUBSCRIBE_PORT: '4443'
NODE_MAX_INSTANCE: '8'
NODE_MAX_SESSION: '8'
SE_NO_VNC_PORT: '7900'
SE_SCREEN_WIDTH: '1920'
SE_SCREEN_HEIGHT: '1080'
SE_NODE_GRID_URL: 'false'
# telegram-bot:
# image: lncrawl
# build:
# context: .
# dockerfile: ./scripts/Dockerfile
# restart: unless-stopped
# command: python -m lncrawl --suppress --bot telegram
# environment:
# CLOUD_DRIVE: "GOFILE"
# TELEGRAM_TOKEN: "${TELEGRAM_TOKEN}"
discord-bot:
image: lncrawl
build:
context: .
dockerfile: ./scripts/Dockerfile
restart: unless-stopped
command: python -m lncrawl --suppress --bot discord --shard-id 0 --shard-count 1 --selenium-grid "http://chrome:4444"
depends_on:
- chrome
environment:
CLOUD_DRIVE: "GOFILE"
DISCORD_TOKEN: "${DISCORD_TOKEN}"
DISCORD_SIGNAL_CHAR: "${DISCORD_SIGNAL_CHAR}"
DISCORD_DISABLE_SEARCH: "${DISCORD_DISABLE_SEARCH}"