marathon-consul
Integrates Marathon apps with Consul service discovery.
File Explorer
Download Latest Version (.zip)- app.json
- apps.json
- lorem-ipsum.json
- tasks.json
- app.go
- app_bench_test.go
- app_test.go
- task.go
- task_test.go
- config.go
- config_test.go
- agent.go
- agents.go
- agents_test.go
- config.go
- consul.go
- consul_stub.go
- consul_stub_test.go
- consul_test.go
- consul_test_server.go
- config.json
- marathon-consul.service
- marathon-consul.upstart
- event_handler.go
- event_handler_test.go
- sse_events.go
- sse_events_test.go
- task_health_change.go
- task_health_change_test.go
- config.go
- marathon.go
- marathon_stub.go
- marathon_stub_test.go
- marathon_test.go
- streamer.go
- streamer_test.go
- config.go
- metrics.go
- metrics_test.go
- system_metrics.go
- system_metrics_test.go
- config.go
- init.go
- init_test.go
- service.go
- service_test.go
- config.go
- sse.go
- sse_handler.go
- config.go
- error_marathon_stub_test.go
- error_service_registry_stub_test.go
- sync.go
- sync_bench_test.go
- sync_test.go
- time.go
- time_test.go
- apps.go
- apps_test.go
- errors.go
- errors_test.go
- net.go
- net_test.go
- config.go
- health_handler.go
- health_handler_test.go
- .gitignore
- .goxc.json
- .travis.yml
- Dockerfile
- go.mod
- go.sum
- golangcilinter.yaml
- install_consul.sh
- LICENSE
- main.go
- Makefile
- README.md
# Installation Guide
git clone https://github.com/allegro/marathon-consul
Downloads the entire project code from GitHub to your computer.
cd marathon-consul
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
make docker
Compiles the code based on the generated build configuration to produce an executable.
docker run -d -P allegro/marathon-consul [options]
Runs the built image as an actual container.
docker run '/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt' -P allegro/marathon-consul
Runs the built image as an actual container.
Pulled directly from this repo's README.
3. Go
Mediumgo run main.go [options]
Runs the Go program directly without a separate build step.
Pulled directly from this repo's README.
4. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make test
Compiles the code based on the generated build configuration to produce an executable.
make build
Compiles the code based on the generated build configuration to produce an executable.
make docker
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
