34 lines
625 B
YAML
34 lines
625 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
azurite:
|
|
container_name: azurite-root
|
|
image: mcr.microsoft.com/azure-storage/azurite:3.33.0
|
|
ports:
|
|
- '10000:10000'
|
|
- '10001:10001'
|
|
- '10002:10002'
|
|
command: 'azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --loose'
|
|
volumes:
|
|
- ./azurite-root:/data
|
|
|
|
api:
|
|
container_name: root-api
|
|
build:
|
|
context: .
|
|
target: api
|
|
ports:
|
|
- '3000:3000'
|
|
env_file:
|
|
- ./api/.env
|
|
|
|
app:
|
|
container_name: root-app
|
|
build:
|
|
context: .
|
|
target: app
|
|
ports:
|
|
- '8080:8080'
|
|
|
|
volumes:
|
|
azurite-root: |