Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
tests:
name: Validate Platform Installation
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
29 changes: 29 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,34 @@ services:
- net
depends_on:
- sublime_create_buckets
sublime_azurite:
container_name: sublime_azurite
image: mcr.microsoft.com/azure-storage/azurite
restart: unless-stopped
networks:
- net
ports:
- "10000:10000" # Blob service
- "10001:10001" # Queue service
- "10002:10002" # Table service
volumes:
- azurite_data:/data
command: azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --location /data --skipApiVersionCheck
sublime_create_azure_blob_containers:
image: mcr.microsoft.com/azure-cli
depends_on:
- sublime_azurite
networks:
- net
environment:
AZURE_STORAGE_CONNECTION_STRING: "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://sublime_azurite:10000/devstoreaccount1;"
command: >
bash -c "
az storage container create --name email-screenshots &&
az storage container create --name events &&
az storage container create --name message-storage &&
az storage container create --name message-export
"
# Keep this name as sublimes3 because underscores don't play nice with certain endpoint validation
sublimes3:
container_name: sublimes3
Expand Down Expand Up @@ -166,3 +194,4 @@ volumes:
logs:
s3_data:
localstack:
azurite_data:
Loading