-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
30 lines (29 loc) · 831 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:
app:
container_name: breaking_app
image: node:22
environment:
NODE_ENV: development
DATABASE_URL: 'postgres://root:hunter2@breaking_db/breakingbot'
HUBOT_LOG_LEVEL: '${HUBOT_LOG_LEVEL:-info}'
JIRA_EMAIL: '${JIRA_EMAIL}'
JIRA_API_TOKEN: '${JIRA_API_TOKEN}'
SLACK_APP_TOKEN: ${SLACK_APP_TOKEN}
SLACK_BOT_TOKEN: ${SLACK_BOT_TOKEN}
WPCOM_API_TOKEN: '${WPCOM_API_TOKEN}'
volumes:
- .:/app
working_dir: /app
entrypoint: bash -c "npm install && npm run start:dev"
depends_on:
- db
db:
container_name: breaking_db
image: postgres:alpine
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: hunter2
POSTGRES_DB: breakingbot
volumes:
- ./lib/data/schema/sql:/docker-entrypoint-initdb.d