-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.staging.yml
55 lines (52 loc) · 1.31 KB
/
docker-compose.staging.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
53
54
55
version: '3.8'
services:
neo4j:
ports:
- "7474:7474"
- "7687:7687"
expose:
- 7687
environment:
- NEO4J_AUTH=$NEO4J_USERNAME/$NEO4J_PASSWORD
volumes:
- neo4jlogs:/logs
- neo4jdata:/data
matts:
ports:
- "80:80"
- "443:443"
expose:
- 80
- 443
environment:
- ASPNETCORE_ENVIRONMENT=Staging
- ASPNETCORE_URLS=https://+;http://+
- ASPNETCORE_HTTPS_PORT=443
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/matts-staging.pfx
- ASPNETCORE_Kestrel__Certificates__Default__Password=$CERT_PASSPHRASE
- Neo4J__ConnectionURL=bolt://localhost:7687
build:
args:
- AspNetCoreEnvironment=Staging
- DotNetBuildConfiguration=Release
volumes:
- apphttps:/https/
volumes:
neo4jlogs:
driver: azure_file
driver_opts:
share_name: neo4jlogs
storage_account_name: matthewsatsdata
storage_account_key: $AZ_STORAGE_ACCT_KEY
neo4jdata:
driver: azure_file
driver_opts:
share_name: neo4jdata
storage_account_name: matthewsatsdata
storage_account_key: $AZ_STORAGE_ACCT_KEY
apphttps:
driver: azure_file
driver_opts:
share_name: apphttps
storage_account_name: matthewsatsdata
storage_account_key: $AZ_STORAGE_ACCT_KEY