-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-frontend.yml
77 lines (74 loc) · 2.94 KB
/
docker-compose-frontend.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# supplementary docker-compose file
version: "3.3"
services:
blazorboilerplate:
build:
context: frontend
# the below path is relative to the build context
dockerfile: ./src/Utils/Docker/Dockerfile
ports:
- 54415:80
- 54443:443
depends_on:
- sqlserver
- controller
- redis
environment:
- ASPNETCORE_ENVIRONMENT=Development #Consider changing this in Production
- Serilog__MinimumLevel__Default=Debug #Consider changing this in Production
- ConnectionStrings__DefaultConnection=Server=sqlserver;Database=blazor_boilerplate;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourVeryStrong(!)Password;Integrated Security=false;Encrypt=False;
- BlazorBoilerplate__UseSqlServer=true
- BlazorBoilerplate__ApplicationUrl=blazorboilerplate
- BlazorBoilerplate__IS4ApplicationUrl=blazorboilerplate
- BlazorBoilerplate__CertificatePassword=Admin123
- ASPNETCORE_URLS=https://+:443;http://+80
- ASPNETCORE_Kestrel__Certificates__Default__Password=Admin123
- ASPNETCORE_Kestrel__Certificates__Default__Path=aspnetapp.pfx
- CONTROLLER_SERVICE_HOST=controller
- CONTROLLER_SERVICE_PORT=5001
- REDIS_SERVICE_HOST=redis
- REDIS_SERVICE_PORT=6379
- CONTROLLER_DATASET_FOLDER_PATH=/app/app-data/datasets
- REGISTRATION_ALLOWED=false
# - ASPNETCORE_hostBuilder__reloadConfigOnChange=false
restart: on-failure
volumes:
# shared volumes between frontend and controller
- datasets:/app/app-data/datasets
- training:/app/app-data/training
- training-autokeras:/app/app-data/training/autokeras
- training-mljar:/app/app-data/training/mljar
- training-sklearn:/app/app-data/training/sklearn
- training-flaml:/app/app-data/training/flaml
- training-gluon:/app/app-data/training/gluon
#- training-autocve:/app/app-data/training/autocve
- training-pytorch:/app/app-data/training/pytorch
#- training-alphad3m:/app/app-data/training/alphad3m
- training-mcfly:/app/app-data/training/mcfly
- training-evalml:/app/app-data/training/evalml
- training-pycaret:/app/app-data/training/pycaret
- training-tpot:/app/app-data/training/tpot
- training-gama:/app/app-data/training/gama
- training-lama:/app/app-data/training/lama
extra_hosts:
- "docker.host.internal:host-gateway"
sqlserver:
image: mcr.microsoft.com/azure-sql-edge:latest
volumes:
- dbdata:/var/opt/mssql
environment:
- MSSQL_SA_PASSWORD=yourVeryStrong(!)Password
- ACCEPT_EULA=Y
ports:
- 1533:1433 #expose port, so can connect to it using host: 'localhost,1533' | user: sa, password: yourVeryStrong(!)Password
redis:
image: "redis:alpine"
volumes:
- redisdata:/data
- redisdata:/var/lib/redis
- redisdata:/usr/local/etc/redis/redis.conf
ports:
- "6379:6379"
volumes:
dbdata:
redisdata: