diff --git a/docker-compose.yml b/docker-compose.yml index 1f988c309..0757fa9cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,7 +33,7 @@ services: # add aws keys as dropwizard config JAVA_OPTS: -Ddw.awsAccessKey=$AWS_ACCESS_KEY_ID -Ddw.awsSecretKey=$AWS_SECRET_ACCESS_KEY volumes: - - credentials:/tmp/credentials/ + - ./regtests/credentials:/tmp/credentials/ healthcheck: test: ["CMD", "curl", "http://localhost:8182/healthcheck"] @@ -66,19 +66,5 @@ services: AWS_CROSS_REGION_BUCKET: $AWS_CROSS_REGION_BUCKET AWS_ROLE_FOR_CROSS_REGION_BUCKET: $AWS_ROLE_FOR_CROSS_REGION_BUCKET volumes: - - local_output:/tmp/polaris-regtests/ - - credentials:/tmp/credentials/ - -volumes: - local_output: - driver: local - driver_opts: - o: bind - type: none - device: ./regtests/output - credentials: - driver: local - driver_opts: - o: bind - type: none - device: ./regtests/credentials + - ./regtests/output:/tmp/polaris-regtests/ + - ./regtests/credentials:/tmp/credentials/ diff --git a/getting-started/spark/docker-compose.yml b/getting-started/spark/docker-compose.yml index 4bda0320c..3c6468c82 100644 --- a/getting-started/spark/docker-compose.yml +++ b/getting-started/spark/docker-compose.yml @@ -49,12 +49,4 @@ services: AWS_REGION: us-west-2 POLARIS_HOST: polaris volumes: - - notebooks:/home/jovyan/notebooks - -volumes: - notebooks: - driver: local - driver_opts: - o: bind - type: none - device: ./notebooks/ + - ./notebooks:/home/jovyan/notebooks