mirror of
https://github.com/Icinga/icingabeat.git
synced 2025-08-16 07:18:08 +02:00
25 lines
533 B
Makefile
25 lines
533 B
Makefile
ENV?=snapshot.yml
|
|
BASE_COMMAND=docker-compose -f ${ENV} -f local.yml
|
|
|
|
start:
|
|
# This is run every time to make sure the environment is up-to-date
|
|
${BASE_COMMAND} build
|
|
${BASE_COMMAND} run beat bash
|
|
|
|
stop:
|
|
${BASE_COMMAND} down -v
|
|
|
|
|
|
up:
|
|
${BASE_COMMAND} build
|
|
${BASE_COMMAND} up
|
|
|
|
# Be careful using this command, as it will remove all containers and volumes of your docker-machine
|
|
clean:
|
|
docker stop $(shell docker ps -a -q)
|
|
docker rm -v $(shell docker ps -a -q)
|
|
|
|
# Tails the environment log files
|
|
logs:
|
|
${BASE_COMMAND} logs -f
|