-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
42 lines (40 loc) · 1.07 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
version: "3.2"
services:
database:
image: postgres:13
networks:
- charlie-bot
environment:
- POSTGRES_DB=charlie
- POSTGRES_PASSWORD=charlie-bot
- POSTGRES_USER=charlie-bot
ports:
- 54329:5432
charlie:
build: .
image: 18f/charlie
networks:
- charlie-bot
environment:
- HOLIDAY_REMINDER_CHANNEL=${HOLIDAY_REMINDER_CHANNEL}
- HOLIDAY_REMINDER_TIME=${HOLIDAY_REMINDER_TIME}
- HOLIDAY_REMINDER_TIMEZONE=${HOLIDAY_REMINDER_TIMEZONE}
- ANGRY_TOCK_FIRST_TIME=${ANGRY_TOCK_FIRST_TIME}
- ANGRY_TOCK_SECOND_TIME=${ANGRY_TOCK_SECOND_TIME}
- ANGRY_TOCK_TIMEZONE=${ANGRY_TOCK_TIMEZONE}
- DATABASE_URL=postgres://charlie-bot:charlie-bot@database/charlie
- LOG_LEVEL=debug
- SLACK_SIGNING_SECRET=${SLACK_SIGNING_SECRET}
- SLACK_TOKEN=${SLACK_TOKEN}
- TOCK_API=${TOCK_API}
- TOCK_TOKEN=${TOCK_TOKEN}
working_dir: /app
volumes:
- ./:/app
- /app/node_modules
ports:
- 3000:3000
links:
- database:database
networks:
charlie-bot: