summaryrefslogtreecommitdiff
path: root/app/env.sh
blob: 05cd7ecfe93e5d02e8f7eb9da89c0a65c23d9229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Call this script with make or source it.

# Database
export STATUS_DB_DRIVER=sqlite3
export STATUS_DB_CREDENTIALS=../db/status.db
export STATUS_DB_IMPORT_DRIVER=github.com/mattn/go-sqlite3
export STATUS_DB_LOG=true

# Redis
export STATUS_REDIS_SERVER=127.0.0.1
export STATUS_REDIS_PORT=6379

# Http
export STATUS_HTTP_IP=127.0.0.1
export STATUS_HTTP_PORT=8080