-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
docker-compose.yml
50 lines (50 loc) · 1.89 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
version: '3.7'
services:
mysql.local:
image: 897413463132.dkr.ecr.us-east-1.amazonaws.com/mysql:8.0.35-debian
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=gregor
ports:
- "3306"
tmpfs: /var/lib/mysql
command: ["--innodb_print_all_deadlocks=1", "--max_connections=1000"]
sqsd.local:
image: 897413463132.dkr.ecr.us-east-1.amazonaws.com/sqsd
restart: unless-stopped
ports:
- "9324"
kbweb.local:
image: 897413463132.dkr.ecr.us-east-1.amazonaws.com/kbweb
ports:
- "3000:3000"
- "9911:9911"
- "13009:13009"
- "13010:13010"
- "13037:13037"
- "13047:13047"
depends_on:
- mysql.local
- sqsd.local
entrypoint: ["run/startup_for_container.sh"]
environment:
- KEYBASE_RUN_MODE=devel
- MYSQL_HOST=mysql.local
- GREGOR_BIND_ADDRESS=0.0.0.0:9911
- MYSQL_DSN=root:secret@tcp(mysql.local:3306)/keybase
- CHAT_MYSQL_DSN=root:secret@tcp(mysql.local:3306)/keybase
- CHAT_READER_MYSQL_DSN=root:secret@tcp(mysql.local:3306)/keybase
- INSECURE_TLS_MODE=1
- GREGOR_TLFAUTH_PRIVATE_SIGNING_KEY=e20589b8cd66d447aaee44b587305bd521f34f3085709b32b4e3bd479b20253e59ea153c88a8ea524d39e0ae58fa195749214b38a28fdb4229ba3390b2d33e86
- GREGOR_TLFAUTH_PUBLIC_SIGNING_KEY=012059ea153c88a8ea524d39e0ae58fa195749214b38a28fdb4229ba3390b2d33e860a
- CHAT_S3_BUCKET=test
- CHAT_S3_ACCESS_KEY=test
- CHAT_S3_SECRET_KEY=test
- S3_SECRETS_ACCESS_KEY_ID
- S3_SECRETS_SECRET_ACCESS_KEY
logging:
driver: json-file
options:
max-size: 50m
max-file: "2"