makefile: add rund and some other log things

single-dockerfile
Trammell Hudson 2 years ago
parent 4303f7e11a
commit 5c31ef8de6
  1. 10
      Makefile

@ -28,6 +28,10 @@ DOCKER = \
run: run:
$(DOCKER) up $(DOCKER) up
rund:
$(DOCKER) up -d
stop:
$(DOCKER) stop
down: down:
$(DOCKER) down $(DOCKER) down
nginx-shell: nginx-shell:
@ -35,7 +39,7 @@ nginx-shell:
nginx-logs: nginx-logs:
$(DOCKER) logs -f --tail 1000 nginx $(DOCKER) logs -f --tail 1000 nginx
mastodon-logs: mastodon-logs:
$(DOCKER) logs -f --tail 1000 mastodon $(DOCKER) logs -f --tail 1000 mastodon mastodon-sidekiq
grafana-shell: grafana-shell:
$(DOCKER) exec grafana bash $(DOCKER) exec grafana bash
hedgedoc-shell: hedgedoc-shell:
@ -48,6 +52,8 @@ keycloak-rebuild:
mastodon-es-rebuild: mastodon-es-rebuild:
$(DOCKER) create mastodon-es $(DOCKER) create mastodon-es
$(DOCKER) restart mastodon-es $(DOCKER) restart mastodon-es
mastodon-restart:
$(DOCKER) restart mastodon
mastodon-shell: mastodon-shell:
$(DOCKER) exec mastodon bash $(DOCKER) exec mastodon bash
mastodon-streaming-shell: mastodon-streaming-shell:
@ -58,6 +64,8 @@ nextcloud-shell:
$(DOCKER) exec nextcloud bash $(DOCKER) exec nextcloud bash
matrix-logs: matrix-logs:
$(DOCKER) logs --tail 100 -f matrix-synapse $(DOCKER) logs --tail 100 -f matrix-synapse
mastodon-sidekiq-logs:
$(DOCKER) logs --tail 100 -f mastodon-sidekiq
nextcloud-logs: nextcloud-logs:
$(DOCKER) logs -f nextcloud $(DOCKER) logs -f nextcloud
nginx-build: secrets/nginx nginx-build: secrets/nginx

Loading…
Cancel
Save