forked from dipu-bd/lightnovel-crawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
35 lines (34 loc) · 1017 Bytes
/
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
services:
chrome:
platform: linux/amd64
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"
SE_NODE_MAX_SESSIONS: "4"
SE_NODE_OVERRIDE_MAX_SESSIONS: "true"
SE_NO_VNC_PORT: "7900"
SE_SCREEN_WIDTH: "1920"
SE_SCREEN_HEIGHT: "1080"
SE_NODE_GRID_URL: "false"
discord-bot:
platform: linux/amd64
image: lncrawl
build:
context: .
dockerfile: ./scripts/Dockerfile
restart: unless-stopped
environment:
CLOUD_DRIVE: "GOFILE"
DISCORD_TOKEN: "${DISCORD_TOKEN}"
DISCORD_SIGNAL_CHAR: "${DISCORD_SIGNAL_CHAR}"
DISCORD_DISABLE_SEARCH: "${DISCORD_DISABLE_SEARCH}"
command: python -m lncrawl --suppress --bot discord --shard-id 0 --shard-count 1 --selenium-grid "http://chrome:4444"
depends_on:
- chrome