-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
85 lines (83 loc) · 2.1 KB
/
docker-compose.yaml
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
78
79
80
81
82
83
84
85
version: '3'
services:
# envoygateway:
# build: Envoy/
# ports:
# - "9901:9901"
# - "10000:10000"
# # - "10001:10001"
# volumes:
# - ./Envoy/envoy.yaml:/etc/envoy/envoy.yaml
# # - ./Envoy/https.crt:/etc/ssl/certs/https.crt
# # - ./Envoy/key.pem:/etc/ssl/certs/key.pem
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- SA_PASSWORD=OpeniddictServerDb!8989
- ACCEPT_EULA=Y
ports:
- "1433:1433"
server:
build: ./
# privileged: true
ports:
- "5000:80"
# - "4999:443"
# network_mode: "host"
depends_on:
- sqlserver
environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - ASPNETCORE_URLS=http://0.0.0.0:80
# ASPNETCORE_URLS: "https://+;http://+"
ASPNETCORE_URLS: "http://+"
# ASPNETCORE_HTTPS_PORT: "5000"
ASPNETCORE_ENVIRONMENT: "Development"
# networks:
# - common_network
# volumes:
# - ${APPDATA}\microsoft\UserSecrets\:/root/.microsoft/usersecrets
# - ${USERPROFILE}\.aspnet\https:/root/.aspnet/https/
# # - ./../src/:/app/src/
# networks:
# - some-net
api:
build: samples/Api/
# privileged: true
ports:
- "5001:80"
# - "5002:443"
# network_mode: "host"
depends_on:
- sqlserver
- server
environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - ASPNETCORE_URLS=http://0.0.0.0:80
# ASPNETCORE_URLS: "https://+;http://+"
ASPNETCORE_URLS: "http://+"
# ASPNETCORE_HTTPS_PORT: "5001"
ASPNETCORE_ENVIRONMENT: "Development"
# networks:
# - common_network
# volumes:
# - ${APPDATA}\microsoft\UserSecrets\:/root/.microsoft/usersecrets
# - ${USERPROFILE}\.aspnet\https:/root/.aspnet/https/
# networks:
# - some-net
# networks:
# some-net:
# driver: bridge
# networks:
# some-net:
# external:
# name: network1_dataserver
# networks:
# common_network:
# external: true
# sqlite3:
# image: sqlite3
# stdin_open: true
# tty: true
# volumes:
# - db/:/root/db/