-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
34 lines (32 loc) · 951 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
31
32
33
34
version: '3.8'
# TLS Enabled
# volumes:
# switcherapi-tls:
# driver: local
# driver_opts:
# o: bind
# type: none
# device: "/data/certs"
services:
switcherslackapp:
image: trackerforce/switcher-slack-app:latest
container_name: switcherslackapp
command: gunicorn --bind 0.0.0.0:5000 --chdir /home/app app:flask_app
# TLS Enabled
# command: [
# "gunicorn",
# "--certfile=/etc/certs/[replace].crt", "--keyfile=/etc/certs/[replace].key",
# "--bind", "0.0.0.0:5000",
# "--chdir", "/home/app", "app:flask_app"]
ports:
- 5000:5000
environment:
- SLACK_SIGNING_SECRET=
- SLACK_CLIENT_ID=
- SLACK_CLIENT_SECRET=
- SWITCHER_JWT_SECRET=
- SWITCHER_URL=https://cloud.switcherapi.com
- SWITCHER_API_URL=https://switcherapi.com/api
- SWITCHER_CERT_PATH=/etc/certs/[replace].crt
# volumes:
# - switcherapi-tls:/etc/certs