Compare commits

...

4 Commits

  1. 34
      Makefile
  2. 4
      mastodon.yaml
  3. 4
      matrix.yaml
  4. 1
      nginx/default.conf

@ -10,7 +10,7 @@ MODULES += mobilizon
MODULES += gitea
MODULES += nitter
MODULES += pixelfed
MODULES += bookwyrm
#MODULES += bookwyrm
include env.production
domain_name := $(DOMAIN_NAME)
@ -37,9 +37,9 @@ down:
nginx-shell:
$(DOCKER) exec nginx sh
nginx-logs:
$(DOCKER) logs -f --tail 1000 nginx
$(DOCKER) logs -f --tail 100000 nginx
mastodon-logs:
$(DOCKER) logs -f --tail 1000 mastodon mastodon-sidekiq
$(DOCKER) logs -f --tail 1000 mastodon mastodon-sidekiq mastodon-streaming mastodon-es mastodon-db
grafana-shell:
$(DOCKER) exec grafana bash
hedgedoc-shell:
@ -56,20 +56,36 @@ mastodon-restart:
$(DOCKER) restart mastodon
mastodon-shell:
$(DOCKER) exec mastodon bash
mastodon-streaming-shell:
$(DOCKER) exec mastodon-streaming bash
mastodon-worker-shell:
$(DOCKER) exec mastodon-worker bash
matrix-shell:
$(DOCKER) exec matrix-synapse bash
nextcloud-shell:
$(DOCKER) exec nextcloud bash
matrix-logs:
$(DOCKER) logs --tail 100 -f matrix-synapse
pixelfed-shell:
$(DOCKER) exec pixelfed-app bash
pixelfed-worker-shell:
$(DOCKER) exec pixelfed-worker bash
pixelfed-logs:
$(DOCKER) logs --tail 100 -f pixelfed-app pixelfed-worker pixelfed-db pixelfed-redis
pixelfed-worker-logs:
$(DOCKER) logs --tail 100 -f pixelfed-worker
pixelfed-rebuild:
$(DOCKER) build pixelfed-app pixelfed-worker pixelfed-redis pixelfed-db
pixelfed-restart:
$(DOCKER) restart pixelfed-app pixelfed-worker pixelfed-redis pixelfed-db
pixelfed-down:
$(DOCKER) stop pixelfed-app pixelfed-worker pixelfed-redis pixelfed-db
mastodon-sidekiq-logs:
$(DOCKER) logs --tail 100 -f mastodon-sidekiq
nextcloud-logs:
$(DOCKER) logs -f nextcloud
nginx-build: secrets/nginx
$(DOCKER) build nginx
bookwyrm-restart:
$(DOCKER) restart bookwyrm-db bookwyrm-redis_activity bookwyrm-redis_broker bookwyrm-web bookwyrm-celery_worker bookwyrm-celery_beat bookwyrm-flower
certdir = ./data/certbot/conf/live/${DOMAIN_NAME}
@ -130,6 +146,14 @@ nginx-reload:
$(DOCKER) restart nginx
nextcloud-restart:
$(DOCKER) restart nextcloud
mastodon-rebuild:
$(DOCKER) create mastodon mastodon-sidekiq
mastodon-restart:
$(DOCKER) restart mastodon mastodon-sidekiq mastodon-db mastodon-streaming mastodon-redis mastodon-es
mastodon-cache:
$(DOCKER) exec mastodon bin/tootctl media remove
matrix-restart:
$(DOCKER) restart matrix-synapse matrix-element
config:

@ -66,7 +66,7 @@ services:
hard: -1
mastodon:
image: tootsuite/mastodon
image: tootsuite/mastodon:v3.5.9
container_name: mastodon
restart: always
#command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 6001"
@ -140,7 +140,7 @@ services:
- mastodon-redis
mastodon-sidekiq:
image: tootsuite/mastodon
image: tootsuite/mastodon:v3.5.9
restart: always
container_name: mastodon-sidekiq
env_file:

@ -12,7 +12,7 @@ services:
# - POSTGRES_PASSWORD=STRONGPASSWORD
matrix-element:
image: vectorim/element-web:latest
image: vectorim/element-web:v1.11.35
restart: unless-stopped
container_name: matrix-element
volumes:
@ -26,7 +26,7 @@ services:
# - "5000:80"
matrix-synapse:
image: matrixdotorg/synapse:latest
image: matrixdotorg/synapse:v1.87.0
restart: unless-stopped
container_name: matrix-synapse
volumes:

@ -45,7 +45,6 @@ server {
<body>
<h1>Unknown hostname "$host"</h1>
<p>Try <a href="https://${DOMAIN_NAME}/">${DOMAIN_NAME}</a> instead
<p>Sub-sites enabled: ${MODULES}
<pre style="white-space: pre-wrap">
$request

Loading…
Cancel
Save