add reload button
This commit is contained in:
parent
ab9b648c59
commit
8168b4edad
@ -1,50 +1,29 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
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:
|
db:
|
||||||
restart: always
|
restart: always
|
||||||
image: postgres:12.2-alpine
|
image: postgres:12.2-alpine
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- internal_network
|
||||||
|
- external_network
|
||||||
env_file:
|
env_file:
|
||||||
- .config/docker.env
|
- .config/docker.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./db:/var/lib/postgresql/data
|
- ./db:/var/lib/postgresql/data
|
||||||
|
|
||||||
# es:
|
redis:
|
||||||
# restart: always
|
restart: always
|
||||||
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2
|
image: redis:4.0-alpine
|
||||||
# environment:
|
ports:
|
||||||
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
- "6379:6379"
|
||||||
# - "TAKE_FILE_OWNERSHIP=111"
|
networks:
|
||||||
# networks:
|
- internal_network
|
||||||
# - internal_network
|
- external_network
|
||||||
# volumes:
|
volumes:
|
||||||
# - ./elasticsearch:/usr/share/elasticsearch/data
|
- ./redis:/data
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal_network:
|
internal_network:
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="buttons right">
|
<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-if="info && info.actions && !narrow">
|
||||||
<template v-for="action in info.actions">
|
<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>
|
<MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler"><i :class="action.icon" style="margin-right: 6px;"></i>{{ action.text }}</MkButton>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user