diff --git a/docker-compose-windows.yml b/docker-compose-windows.yml index 0a501e7fd..6ea1bafff 100644 --- a/docker-compose-windows.yml +++ b/docker-compose-windows.yml @@ -1,27 +1,35 @@ -# services: -# mysql: -# image: mysql:8 -# environment: -# - MYSQL_ROOT_PASSWORD=my-secret-pw -# healthcheck: -# test: [ 'CMD', 'mysqladmin', 'ping', '-h', 'localhost' ] -# timeout: 20s -# retries: 10 -# ports: -# - '3306:3306' -# - '33060:33060' -# volumes: -# - ./.mysql-data:/var/lib/mysql -# minio: -# image: minio/minio -# ports: -# - '9000:9000' -# - '9090:9090' -# environment: -# - MINIO_ROOT_USER=minioadmin -# - MINIO_ROOT_PASSWORD=minioadmin -# - MINIO_ACCESS_KEY=minio -# - MINIO_SECRET_KEY=minio123 -# volumes: -# - ./.minio-data:/data -# command: server --console-address ":9090" /data +services: + mysql: + image: mysql:8 + environment: + - MYSQL_ROOT_PASSWORD=my-secret-pw + healthcheck: + test: ['CMD', 'mysqladmin', 'ping', '-h', 'localhost'] + timeout: 20s + retries: 10 + ports: + - '3306:3306' + - '33060:33060' + volumes: + - ./.mysql-data:/var/lib/mysql + minio: + image: minio/minio + ports: + - '9000:9000' + - '9090:9090' + environment: + - MINIO_ROOT_USER=minioadmin + - MINIO_ROOT_PASSWORD=minioadmin + - MINIO_ACCESS_KEY=minio + - MINIO_SECRET_KEY=minio123 + volumes: + - ./.minio-data:/data + command: server --console-address ":9090" /data + dynamodb: + command: '-jar DynamoDBLocal.jar -sharedDb -dbPath ./data' + image: 'amazon/dynamodb-local:latest' + ports: + - '8000:8000' + volumes: + - './.dynamodb:/home/dynamodblocal/data' + working_dir: /home/dynamodblocal diff --git a/docker-compose.yml b/docker-compose.yml index 09ff47bdb..ca71d4787 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,7 +43,7 @@ services: timeout: 20s retries: 10 ports: - - '3307:3306' + - '3306:3306' - '33060:33060' volumes: - ./.mysql-data:/var/lib/mysql diff --git a/src/components/activities/content/views/DocumentView.tsx b/src/components/activities/content/views/DocumentView.tsx index 64523bc94..7a70051dc 100644 --- a/src/components/activities/content/views/DocumentView.tsx +++ b/src/components/activities/content/views/DocumentView.tsx @@ -2,11 +2,14 @@ import React from 'react'; import type { ViewProps } from '../content.types'; import PdfDisplay from '../editors/DocumentEditor/PdfDisplay'; +import { LightBox } from 'src/components/lightbox/Lightbox'; export const DocumentView = ({ value = '' }: ViewProps) => { return (