-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (47 loc) · 1.41 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.4'
networks:
cargowhalenetwork: {}
volumes:
cargowhale_sql: {}
azurite: {}
services:
cargowhale:
image: ${DOCKER_REGISTRY-}cargowhale
networks:
- cargowhalenetwork
build:
context: .
dockerfile: Application/Cargowhale/Dockerfile
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /sample/config.json:/config.json
cargowhale.sql:
image: mcr.microsoft.com/mssql/server:2019-latest
networks:
- cargowhalenetwork
ports:
- "1433:1433"
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "^dEbX2Ew"
volumes:
- cargowhale_sql:/var/opt/mssql
- ./Docker/Databases/Sql:/scripts
restart: unless-stopped
command:
- "/scripts/init.sh"
# Azurite currently does not support file upload, see https://github.com/microsoft/mssql-docker/issues/721
#localazurite.blob.core.windows.net:
# image: mcr.microsoft.com/azure-storage/azurite:3.14.0
# networks:
# - cargowhalenetwork
# ports:
# - "10000:10000"
# - "10001:10001"
# - "10002:10002"
# entrypoint: "azurite --loose -l /data --oauth=basic --cert=/azuriteDir/certs/azuriteCert.crt --key=/azuriteDir/certs/azuriteKey.pem --blobPort 10000 --blobHost 0.0.0.0 --queuePort 10001 --queueHost 0.0.0.0 --tablePort 10002 --tableHost 0.0.0.0"
# labels:
# - ideamachinecompose
# volumes:
# - azurite:/data
# - ./Azurite:/azuriteDir