-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
49 lines (48 loc) · 1.84 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
43
44
45
46
47
48
49
services:
chirpstack-hpr:
image: ghcr.io/ccall48/chirpstack-hpr:latest
container_name: chirpstack-hpr
restart: unless-stopped
volumes:
- './app:/app'
- '${HELIUM_KEYPAIR_PATH}:/app/delegate_key.bin:ro'
environment:
- HELIUM_CONFIG_HOST=${HELIUM_CONFIG_HOST}
- HELIUM_CLI_PATH=/usr/local/bin/hpr
- HELIUM_KEYPAIR_BIN=/app/delegate_key.bin
- HELIUM_NET_ID=${HELIUM_NET_ID}
- HELIUM_OUI=${HELIUM_OUI}
- HELIUM_MAX_COPIES=${HELIUM_MAX_COPIES}
- ROUTE_ID=${ROUTE_ID}
# ChirpStack (Required)
- CHIRPSTACK_SERVER=${CHIRPSTACK_SERVER}
- CHIRPSTACK_APIKEY=${CHIRPSTACK_APIKEY}
- REDIS_HOST=${REDIS_HOST}
# Database (Required)
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASS=${POSTGRES_PASS}
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_PORT=${POSTGRES_PORT}
- POSTGRES_SSL_MODE=${POSTGRES_SSL_MODE}
- POSTGRES_DB=${POSTGRES_DB}
# Usage Event Publisher (Optional)
- PUBLISH_USAGE_EVENTS=${PUBLISH_USAGE_EVENTS}
- PUBLISH_USAGE_EVENTS_PROVIDER=${PUBLISH_USAGE_EVENTS_PROVIDER}
# Usage Event SQS Publisher (Optional)
- PUBLISH_USAGE_EVENTS_SQS_URL=${PUBLISH_USAGE_EVENTS_SQS_URL}
- PUBLISH_USAGE_EVENTS_SQS_REGION=${PUBLISH_USAGE_EVENTS_SQS_REGION}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
# Usage Event Postgres Publisher (Optional)
- PG_EVENTS_USER=${PG_EVENTS_USER}
- PG_EVENTS_PASS=${PG_EVENTS_PASS}
- PG_EVENTS_PORT=${PG_EVENTS_PORT}
- PG_EVENTS_HOST=${PG_EVENTS_HOST}
- PG_EVENTS_DB=${PG_EVENTS_DB}
# Usage Event Http Publisher (Optional)
- HTTP_PUBLISHER_ENDPOINT=${HTTP_PUBLISHER_ENDPOINT}
command: bash -c 'cd /app && python app.py'
networks:
default:
name: core-infra
external: true