-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-https.yml
More file actions
34 lines (33 loc) · 1.17 KB
/
docker-compose-https.yml
File metadata and controls
34 lines (33 loc) · 1.17 KB
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: "2.4"
services:
bot:
build:
context: ./bot
dockerfile: ./Dockerfile
args:
ENVIRONMENT: ${ENVIRONMENT}
SLACK_BOT_ULTRON: ${SLACK_BOT_ULTRON}
SLACK_CHANNEL_LIST: ${SLACK_CHANNEL_LIST}
ULTRONEX_BOT_ID: ${ULTRONEX_BOT_ID}
IRONMAN_USER_ID: ${IRONMAN_USER_ID}
GIPHY_API_KEY: ${GIPHY_API_KEY}
HTTP_SCHEME: ${HTTP_SCHEME}
BASIC_AUTH_USERNAME: ${BASIC_AUTH_USERNAME}
BASIC_AUTH_PASSWORD: ${BASIC_AUTH_PASSWORD}
BASIC_AUTH_REALM: ${BASIC_AUTH_REALM}
SECRET_WEAPON: ${SECRET_WEAPON}
SENTRY_DSN: ${SENTRY_DSN}
APPSIGNAL_PUSH_API_KEY: ${APPSIGNAL_PUSH_API_KEY}
container_name: ultronex_bot
stdin_open: true
tty: true
ports:
- "443:8443"
# map certs when using HTTPS
volumes:
- ./bot/app:/src/ultronex/app
- ./bot/log:/src/ultronex/log
- ./bot/tab:/src/ultronex/tab
- /etc/letsencrypt/live/ultronex.mooo.com/privkey.pem:/src/ultronex/cert/privkey.pem
- /etc/letsencrypt/live/ultronex.mooo.com/cert.pem:/src/ultronex/cert/cert.pem
- /etc/letsencrypt/live/ultronex.mooo.com/chain.pem:/src/ultronex/cert/chain.pem