blob: 8e03fe27e6bd5358961811a1ef29b9042d323019 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
version: '3'
services:
azurite:
image: mcr.microsoft.com/azure-storage/azurite
command:
- "azurite-blob"
- "--blobHost"
- "0.0.0.0"
- "--blobPort"
- "10000"
- "--oauth"
- "basic"
- "--cert"
- "/opt/azurite/certs/cert.pem"
- "--key"
- "/opt/azurite/certs/key.pem"
- "--skipApiVersionCheck"
hostname: azurite
networks:
- azure_test_net
volumes:
- ./:/opt/azurite/certs
# Integration test.
test:
build: .
networks:
- azure_test_net
depends_on:
- "azurite"
networks:
azure_test_net:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1460