You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
505 B
Makefile
27 lines
505 B
Makefile
SHELL := /usr/bin/env bash
|
|
up:
|
|
export UID && docker-compose up -d
|
|
|
|
down:
|
|
docker-compose down -v
|
|
|
|
build:
|
|
export UID && docker-compose build --pull
|
|
|
|
bash:
|
|
export UID && docker-compose run --rm php_sender bash
|
|
|
|
composer_bash:
|
|
export UID && docker-compose run --rm composer bash
|
|
|
|
push_jobs:
|
|
docker-compose exec php_sender sh -c 'while true; do php send.php; done;'
|
|
|
|
docker_clean:
|
|
docker rm $(docker ps -a -q) || true
|
|
docker rmi < echo $(docker images -q | tr "\n" " ")
|
|
|
|
tail:
|
|
docker-compose logs -f
|
|
|