add reload button

This commit is contained in:
nullnyat 2022-05-01 21:51:08 +09:00
parent ab9b648c59
commit 8168b4edad
No known key found for this signature in database
GPG Key ID: 5EDC2816C3AE007A
3 changed files with 14 additions and 4528 deletions

View File

@ -1,50 +1,29 @@
version: "3"
services:
web:
build: .
restart: always
links:
- db
- redis
# - es
ports:
- "127.0.0.1:3000:3000"
networks:
- internal_network
- external_network
volumes:
- ./files:/misskey/files
- ./.config:/misskey/.config:ro
redis:
restart: always
image: redis:4.0-alpine
networks:
- internal_network
volumes:
- ./redis:/data
db:
restart: always
image: postgres:12.2-alpine
ports:
- "5432:5432"
networks:
- internal_network
- external_network
env_file:
- .config/docker.env
volumes:
- ./db:/var/lib/postgresql/data
# es:
# restart: always
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2
# environment:
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# - "TAKE_FILE_OWNERSHIP=111"
# networks:
# - internal_network
# volumes:
# - ./elasticsearch:/usr/share/elasticsearch/data
redis:
restart: always
image: redis:4.0-alpine
ports:
- "6379:6379"
networks:
- internal_network
- external_network
volumes:
- ./redis:/data
networks:
internal_network:

View File

@ -25,6 +25,7 @@
</div>
</template>
<div class="buttons right">
<button class="_button button" v-tooltip="'リロード'" onclick="location.reload();"><i class="fas fa-redo"></i></button>
<template v-if="info && info.actions && !narrow">
<template v-for="action in info.actions">
<MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler"><i :class="action.icon" style="margin-right: 6px;"></i>{{ action.text }}</MkButton>

4494
yarn.lock

File diff suppressed because it is too large Load Diff