Supporting Services
For your convenience, Harpoon includes a handful of docker-compose
configurations for commonly used databases, DevOps tools, etc:
Beanstalk Console
- Web UI: http://beanstalk-console.harpoon
Blackfire
PHP profiler
cAdvisor
Provides a web UI for analyzing the resource usage and performance characteristics of running containers.
- Web UI: http://cadvisor.harpoon
Couchbase
Environment Variables (with defaults):
export COUCHBASE_VERSION="latest"
Admin Web UI
- URL: http://couchbase.harpoon
- Username: Administrator
- Password: abc123
DynamoDB Admin
- Web UI: http://ddbadmin.harpoon
Elastic (ELK) Stack
Elasticsearch
- URL: http://es.harpoon
Logstash
- URL: http://ls.harpoon
Input
- TCP
- Port:
12345
- Codec:
json
- Port:
- UDP
- Port:
12345
- Codec:
json
- Port:
Output
- Elasticsearch
Kibana
- Web UI: http://kibana.harpoon
LaunchDarkly Relay Proxy
Docker Image: https://hub.docker.com/r/wheniwork/ld-relay/
Environment Variables:
LD_RELAY_REDIS_HOST
: Default isharpoon_redis
.LD_RELAY_REDIS_PORT
: Default is6379
.LD_RELAY_PORT
: The HTTP port of the service as published to the Docker host. Default is8030
.LD_ENV_dev
: The value should be the api key for the desired environment.LD_PREFIX_dev
: This variable is optional. Configures a Redis prefix for the desired environment.USE_REDIS
: This variable is optional. If set to1
, Redis configuration will be added.REDIS_HOST
: This variable is optional. Sets the hostname of the Redis server. The default value isharpoon_redis
.REDIS_PORT
: This variable is optional. Sets the port of the Redis server. The default value is6379
.REDIS_TTL
: This variable is optional. Sets the TTL in milliseconds, defaults to30000
.USE_EVENTS
: This variable is optional. If set to1
, enables event buffering.EVENTS_HOST
: This variable is optional. URI of the LaunchDarkly events endpoint, defaults tohttps://events.launchdarkly.com
.EVENTS_SEND
: This variable is optional. Defaults totrue
.EVENTS_FLUSH_INTERVAL
: This variable is optional. Sets how often events are flushed, defaults to5
(seconds).EVENTS_SAMPLING_INTERVAL
: This variable is optional. Defaults to10000
.
LocalStack
Local AWS cloud stack
- Web UI: http://localstack.harpoon
- AWS CLI:
harpoon localstack:aws <arg...>
Logspout
- Sends (raw) JSON to the
harpoon_logstash
container viaudp:12345
Mailhog
Web and API based SMTP testing
- Web UI: http://mailhog.harpoon
MySQL
MySQL is a widely used, open-source relational database management system (RDBMS).
Environment Variables (with defaults):
export MYSQL_VERSION=5
export MYSQL_ROOT_PASSWORD="abc123"
export MYSQL_DATABASE="harpoon"
export MYSQL_PORT=3306 # exposed to Docker host
Portainer
Container management UI
- Web UI: http://portainer.harpoon
Postgres
The PostgreSQL object-relational database system provides reliability and data integrity.
Redis
Redis is an open source key-value store that functions as a data structure server.
Redis Commander
- Web UI: http://redis-commander.harpoon
SQS-admin
- Web UI: http://sqsadmin.harpoon
SSH Agent
- Run:
harpoon ssh-agent:up
- Add your key:
harpoon ssh-agent:add <filename>
, where<filename>
is located in~/.ssh/
.
Service Management
- Run
harpoon services:list
to get a list of the supporting services. - Run
harpoon services:status
to display the state of all supporting services. - Run
harpoon (service):help
to get help for a particular service.