-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
67 lines (62 loc) · 2.31 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '3.3'
services:
nginx:
build: ./nginx
ports:
- '8123:80'
mysql:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: 'changeme'
MYSQL_DATABASE: 'twitchbot'
MYSQL_USER: 'sqluser'
MYSQL_PASSWORD: 'changeme'
app:
build: .
environment:
# ===============================================
# TwitchBot Account Oauth Token
#
# Twitch Guide to get Oauth Token:
# https://dev.twitch.tv/docs/irc/guide
# Or use this Twitch Chat OAuth Password Generator:
# https://twitchapps.com/tmi/
# Format: oauth:<token>
# Example: oauth:asdasdasdasdasdas
# Or set the $TWITCH_OAUTH environment variable on the host to "oauth:<token>" and put ${TWITCH_OAUTH} here
# ===============================================
TWITCH_OAUTH: ${TWITCH_OAUTH}
# ===============================================
# TwitchBot Nickname
# Example: Botloff
# ===============================================
TWITCH_BOT_NICKNAME: 'Botloff'
# ===============================================
# TwitchBot Channel Name
# Example: hartloff
# ===============================================
TWITCH_CHANNEL_NAME: 'hartloff'
# ===============================================
# WebSocket Port
#
# Default: 8082
# ===============================================
WEBSOCKET_LISTEN: 8082
# ===============================================
# Web Service Port
#
# Default: 8082
# ===============================================
WEB_LISTEN: 8081
# ===============================================
# MySQL DB Url
#
# Default: jdbc:mysql://localhost/twitchbot?autoReconnect=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
# ===============================================
MYSQL_DB_URL: 'jdbc:mysql://localhost/twitchbot?autoReconnect=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC'
# ===============================================
# MySQL Username & Password
# ===============================================
DB_USERNAME: 'sqluser'
DB_PASSWORD: 'changeme'
WAIT_HOSTS: mysql:3306