-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
113 lines (106 loc) · 3.15 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name: halcyon
services:
halcyon-api:
image: halcyon-api:dev
build:
context: .
dockerfile: src/Halcyon.Api/Dockerfile
args:
VERSION: 1.0.0-docker
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: 8080
ASPNETCORE_HTTPS_PORTS: 8081
ConnectionStrings__Database: Host=host.docker.internal;Port=5432;Database=halcyon;Username=postgres;Password=password
ConnectionStrings__RabbitMq: amqp://guest:[email protected]:5672
ConnectionStrings__Redis: host.docker.internal
Email__SmtpServer: host.docker.internal
Serilog__MinimumLevel__Override__Microsoft.AspNetCore.DataProtection: Error
Serilog__WriteTo__Seq__Args__serverUrl: http://host.docker.internal:5341
OTEL_EXPORTER_OTLP_ENDPOINT: http://host.docker.internal:5341/ingest/otlp/v1/traces
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
ports:
- 5257:8080
- 7257:8081
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
depends_on:
postgres:
condition: service_healthy
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
postgres:
image: postgres:17.0
user: postgres
environment:
POSTGRES_PASSWORD: password
ports:
- 5432:5432
volumes:
- postgres:/var/lib/postgresql/data
restart: always
healthcheck:
test: [ 'CMD', 'pg_isready' ]
interval: 10s
timeout: 5s
retries: 3
rabbitmq:
image: rabbitmq:4.0-management
hostname: local
ports:
- 5672:5672
- 15672:15672
volumes:
- rabbitmq:/var/lib/rabbitmq
restart: always
healthcheck:
test: [ 'CMD', 'rabbitmqctl', 'status' ]
interval: 10s
timeout: 5s
retries: 3
redis:
image: redis:7.4
ports:
- 6379:6379
volumes:
- redis:/data
restart: always
healthcheck:
test: [ 'CMD', 'redis-cli', 'ping' ]
interval: 10s
timeout: 5s
retries: 3
maildev:
image: maildev/maildev:2.1.0
environment:
MAILDEV_MAIL_DIRECTORY: /tmp
ports:
- 1025:1025
- 1080:1080
volumes:
- maildev:/tmp
restart: always
seq:
image: datalust/seq:2024.3
environment:
ACCEPT_EULA: Y
SEQ_API_CANONICALURI: http://localhost:5341
ports:
- 5341:80
volumes:
- seq:/data
restart: always
volumes:
postgres:
name: halcyon-postgres
rabbitmq:
name: halcyon-rabbitmq
redis:
name: halcyon-redis
maildev:
name: halcyon-maildev
seq:
name: halcyon-seq