forked from operable/cog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.ci.yml
34 lines (31 loc) · 981 Bytes
/
docker-compose.ci.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: '2'
services:
postgres:
image: postgres:9.5
cpu_shares: 512
environment:
- POSTGRES_USER=cog
- POSTGRES_PASSWORD=cog
expose:
- 5432
test:
build:
context: .
dockerfile: Dockerfile.ci
depends_on:
- postgres
environment:
- COG_MQTT_HOST=0.0.0.0
- COG_TELEMETRY=false
- DATABASE_URL=ecto://cog:cog@postgres:5432/cog
- SLACK_API_TOKEN=${SLACK_API_TOKEN}
- SLACK_USER_API_TOKEN=${SLACK_USER_API_TOKEN}
- HIPCHAT_API_TOKEN=${HIPCHAT_API_TOKEN}
- HIPCHAT_JABBER_ID=${HIPCHAT_JABBER_ID}
- HIPCHAT_JABBER_PASSWORD=${HIPCHAT_JABBER_PASSWORD}
- HIPCHAT_NICKNAME=${HIPCHAT_NICKNAME}
- HIPCHAT_ROOMS=${HIPCHAT_ROOMS}
- HIPCHAT_USER_API_TOKEN=${HIPCHAT_USER_API_TOKEN}
- HIPCHAT_USER_JABBER_ID=${HIPCHAT_USER_JABBER_ID}
- HIPCHAT_USER_JABBER_PASSWORD=${HIPCHAT_USER_JABBER_PASSWORD}
- HIPCHAT_USER_NICKNAME=${HIPCHAT_USER_NICKNAME}