From ae9cf1496de34795892e5e22c89b9e61590d8fba Mon Sep 17 00:00:00 2001 From: Kushal Bakshi <52367253+kushalbakshi@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:18:36 +0000 Subject: [PATCH] Test removing s3fs for devcontainer --- .devcontainer/Dockerfile | 1 - .devcontainer/devcontainer.json | 2 +- .devcontainer/docker-compose.yaml | 4 +--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d58008f..a50f210 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -41,7 +41,6 @@ ENV DJ_HOST fakeservices.datajoint.io ENV DJ_USER root ENV DJ_PASS simple -ENV EPHYS_ROOT_DATA_DIR /workspaces/element-optogenetics/example_data ENV DATABASE_PREFIX neuro_ USER vscode diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index bf939e8..e82fc62 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,7 +7,7 @@ "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" }, "onCreateCommand": "mkdir -p ${EPHYS_ROOT_DATA_DIR} && pip install -e .", - "postStartCommand": "docker volume prune -f && s3fs ${DJ_PUBLIC_S3_LOCATION} ${EPHYS_ROOT_DATA_DIR} -o nonempty,multipart_size=530,endpoint=us-east-1,url=http://s3.amazonaws.com,public_bucket=1", + "postStartCommand": "docker volume prune -f", "hostRequirements": { "cpus": 4, "memory": "8gb", diff --git a/.devcontainer/docker-compose.yaml b/.devcontainer/docker-compose.yaml index e45c881..af1047e 100644 --- a/.devcontainer/docker-compose.yaml +++ b/.devcontainer/docker-compose.yaml @@ -6,11 +6,9 @@ services: build: context: .. dockerfile: ./.devcontainer/Dockerfile - # image: datajoint/element_array_ephys:latest + # image: datajoint/element_optogenetics:latest extra_hosts: - fakeservices.datajoint.io:127.0.0.1 - environment: - - DJ_PUBLIC_S3_LOCATION=djhub.vathes.datapub.elements:/workflow-array-ephys-benchmark/v2 devices: - /dev/fuse cap_add: