-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (39 loc) · 1.39 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
version: "3.1"
services:
on_call_bot_serverless:
build:
context: ./
dockerfile: Dockerfile
# ports:
# - 5000:${PORT:-3000}
environment:
SLACK_SIGNING_SECRET: ${SLACK_SIGNING_SECRET}
SLACK_BOT_TOKEN: ${SLACK_BOT_TOKEN}
GOOGLE_SERVICE_ACCOUNT_EMAIL: ${GOOGLE_SERVICE_ACCOUNT_EMAIL}
GOOGLE_PRIVATE_KEY: ${GOOGLE_PRIVATE_KEY}
SLACK_GOOGLE_SHEET_ID: ${SLACK_GOOGLE_SHEET_ID}
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
image: localstack/localstack
network_mode: bridge
ports:
- "4566:4566"
- "4574:4574"
- "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
environment:
- SERVICES=secretsmanager,cloudformation,sts,s3,lambda,iam,apigateway
- DEBUG=${DEBUG- }
- DATA_DIR=${DATA_DIR- }
- PORT_WEB_UI=${PORT_WEB_UI- }
- LAMBDA_EXECUTOR=docker
- KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
- DOCKER_HOST=unix:///var/run/docker.sock
- HOST_TMP_FOLDER=${TMPDIR}
- SLACK_SIGNING_SECRET=${SLACK_SIGNING_SECRET}
- SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN}
- GOOGLE_SERVICE_ACCOUNT_EMAIL=${GOOGLE_SERVICE_ACCOUNT_EMAIL}
- GOOGLE_PRIVATE_KEY=${GOOGLE_PRIVATE_KEY}
- SLACK_GOOGLE_SHEET_ID=${SLACK_GOOGLE_SHEET_ID}
volumes:
- "${TMPDIR:-/tmp/localstack}:/tmp/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"