-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
31 lines (25 loc) · 993 Bytes
/
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
version: '3'
services:
# redis-master:
# image: "redis"
# ports:
# - "6379:6379"
# container_name: redis-master
slack-standup:
build: .
ports:
- "5000:5000"
command: ["uwsgi", "--http-socket", ":5000", "--enable-threads", "--threads", "4", "--module", "app:create_app()", "--workers", "2", "--buffer-size", "32768"]
environment:
- SLACK_SIGNING_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- SLACK_API_TOKEN=xoxb-xxxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx
# Postgres DB example
# - SQLALCHEMY_DATABASE_URI=postgresql://user@host.docker.internal
# - SQLALCHEMY_DATABASE_URI=postgresql://[user[:password]@][host][:port]
# Sqlite DB example
- SQLALCHEMY_DATABASE_URI=sqlite:////home/slack-standup/standup.db
- FLASK_APP=app
- ENVIRONMENT=DEBUG
- REDIS_HOST=localhost
- REDIS_PORT=6379
- POST_PUBLISH_STATS=1