-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (68 loc) · 1.72 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
version: '3.4'
name: TheGalaxy
services:
thegalaxy.rabbitmq:
image: 'rabbitmq:3.8.3-management-alpine'
container_name: TheGalaxy.RabbitMQ
ports:
- '25672:5672'
- '35672:15672'
networks:
- thegalaxy
galacticsenate.consoleapp:
image: ${DOCKER_REGISTRY-}galacticsenateconsoleapp
build:
context: .
dockerfile: Source/GalacticSenate.ConsoleApp/Dockerfile
depends_on:
- galacticsenate.db
- thegalaxy.rabbitmq
networks:
- thegalaxy
galacticsenate.db:
image: "mcr.microsoft.com/azure-sql-edge:latest"
hostname: galacticsenatedb
container_name: GalacticSenate.DB
ports:
- "14331:1433"
environment:
SA_PASSWORD: "Qwerty!@!"
ACCEPT_EULA: "Y"
volumes:
- ./data/data:/var/opt/mssql/data
- ./data/log:/var/opt/mssql/log
- ./data/secrets:/var/opt/mssql/secrets
networks:
- thegalaxy
jediorder.web:
image: ${DOCKER_REGISTRY-}jediorderweb
ports:
- "64014:443"
- "64015:80"
build:
context: .
dockerfile: Source/JediOrder.Web/Dockerfile
networks:
- thegalaxy
galacticsenate.webapi:
image: ${DOCKER_REGISTRY-}galacticsenatewebapi
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
volumes:
- ~/.aspnet/https:/root/.aspnet/https:ro
- ~/.microsoft/usersecrets:/root/.microsoft/usersecrets:ro
ports:
- "64016:443"
- "64017:80"
build:
context: .
dockerfile: Source/GalacticSenate.WebApi/Dockerfile
networks:
- thegalaxy
depends_on:
- galacticsenate.db
- thegalaxy.rabbitmq
- jediorder.web
networks:
thegalaxy: {}