-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
81 lines (75 loc) · 1.94 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
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
version: '3.4'
services:
#mssql docker
poseidon.sql:
image: mcr.microsoft.com/mssql/server:2022-latest
restart: unless-stopped
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=Pass123$
- MSSQL_PID=Developer
ports:
- 1433:1433
expose:
- 1433
networks:
poseidon_net:
#Poseidon Auth
poseidon.auth:
image: ${DOCKER_REGISTRY-}poseidonauth
build:
context: .
dockerfile: Poseidon.Auth/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Staging
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_Kestrel__Certificates__Default__Password=
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/Poseidon.pfx
ports:
- 5533:443
- 5534:80
networks:
poseidon_net:
links:
- poseidon.sql
depends_on:
- poseidon.sql
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${USERPROFILE}/.aspnet/https:/https:ro
#Poseidon Api
poseidon.api:
image: ${DOCKER_REGISTRY-}poseidonapi
build:
context: .
dockerfile: Poseidon.Api/Dockerfile
environment:
- Poseidon__BaseUrl=https://localhost:5430
- Auth__BaseUrl=https://localhost:5533
- DataDog__ApiKey=
- Stripe__ApiKey=
- ASPNETCORE_ENVIRONMENT=Staging
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_Kestrel__Certificates__Default__Password=
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/Poseidon.pfx
ports:
- 5430:443
- 5431:80
networks:
poseidon_net:
links:
- poseidon.sql
depends_on:
- poseidon.sql
- poseidon.auth
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${USERPROFILE}/.aspnet/https:/https:ro
networks:
poseidon_net:
name: poseidon_net
driver: bridge
ipam:
config:
- subnet: 172.33.0.0/16
gateway: 172.33.0.1