Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchover service artifact fix and full screen preview bug fix #296

Merged
merged 12 commits into from
Feb 24, 2023
16 changes: 3 additions & 13 deletions docker-compose-cloud.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ services:
# Replace values for letsencrypt
LETSENCRYPT_HOST: ${PROXEUS_VIRTUAL_HOST:-proxeus.example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-admin@proxeus.example.com}
restart: unless-stopped

document-service:
networks:
Expand All @@ -83,6 +84,7 @@ services:
# Replace values for letsencrypt
LETSENCRYPT_HOST: ${DOCUMENT_SERVICE_VIRTUAL_HOST:-proxeus.example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-admin@example.com}
restart: unless-stopped

node-crypto-forex-rates:
networks:
Expand All @@ -96,16 +98,4 @@ services:
# Replace values for letsencrypt
LETSENCRYPT_HOST: ${NODE_CRYPTO_FOREX_RATES_VIRTUAL_HOST:-proxeus.example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-admin@example.com}

# Add Watchtower
# https://hub.docker.com/r/v2tec/watchtower/
# Watches your containers and automatically restarts them whenever their
# image is refreshed
watchtower:
image: v2tec/watchtower
container_name: watchtower
restart: always
volumes:
- ${DOCKER_SOCK:-/var/run/docker.sock}:/var/run/docker.sock:ro
- ${DOCKER_CONFIG_FILE:-/root/.docker/config.json}:/config.json
command: --interval 60 --label-enable
restart: unless-stopped
4 changes: 3 additions & 1 deletion ui/core/src/components/document/PdfModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ export default {
this.pdfSrc = undefined
this.numPages = undefined
this.pdfSrc = pdf.createLoadingTask(this.src)
this.pdfSrc.then(pdf => {

this.pdfSrc.promise.then(pdf => {
this.numPages = pdf.numPages
this.loadingPdf = false
this.pdfSrc._worker.destroy()
}, (err) => {
this.loadingPdf = false
console.log(err)
Expand Down