https://github.com/chobostar/azurite-ci
Azurite in Docker with build-in container for testing and development
https://github.com/chobostar/azurite-ci
azure-storage azurite docker
Last synced: about 2 months ago
JSON representation
Azurite in Docker with build-in container for testing and development
- Host: GitHub
- URL: https://github.com/chobostar/azurite-ci
- Owner: chobostar
- Created: 2022-06-19T15:55:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-19T16:08:12.000Z (almost 3 years ago)
- Last Synced: 2025-03-04T19:42:16.287Z (about 2 months ago)
- Topics: azure-storage, azurite, docker
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azurite-ci
Example of Azurite in Docker with build-in container and HTTPS for testing and development.It uses self-signed certs and python provisioner.
### Why
- there is no good solution for initial provisioning:
https://stackoverflow.com/questions/68834959/is-there-a-way-to-automatically-create-a-container-when-starting-azurite
>I've solved the issue by creating a custom docker image and executing azure-cli tools from a health check. There could certainly be better solutions, and I will update the accepted answer if someone posts a better solution.- using curl - it's not easy too https://github.com/Azure/Azurite/issues/386
>AuthorizationFailure with curl #386### HowTo
- See an example - [create_container.py](tests/init/create_container.py)
```
os.environ['STORAGE_CONTAINER'] = 'my-test-container'
```- Defined certs enable `HTTPS`
### Usage
```
make up
```