-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (34 loc) · 969 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (34 loc) · 969 Bytes
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
# Docker Compose for local development and testing
# Run: docker-compose up --build
services:
web:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:80"
environment:
- APP_ENV=production
- UNIT_NAME=Resgrid Unit
- UNIT_SCHEME=ResgridUnit
- UNIT_BUNDLE_ID=com.resgrid.unit
- UNIT_PACKAGE=com.resgrid.unit
- UNIT_VERSION=0.0.1
- UNIT_BASE_API_URL=https://api.resgrid.com
- UNIT_API_VERSION=v4
- UNIT_RESGRID_API_URL=/api/v4
- UNIT_CHANNEL_HUB_NAME=eventingHub
- UNIT_REALTIME_GEO_HUB_NAME=geolocationHub
- UNIT_LOGGING_KEY=
- UNIT_APP_KEY=
- UNIT_MAPBOX_PUBKEY=
- UNIT_SENTRY_DSN=
- UNIT_COUNTLY_APP_KEY=
- UNIT_COUNTLY_SERVER_URL=
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s