-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 1.67 KB
/
docker-compose.yml
File metadata and controls
61 lines (56 loc) · 1.67 KB
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
services:
commentmap-mvc:
image: ghcr.io/adedw/commentmap-mvc:master
build:
context: ./CommentMap.Mvc
depends_on:
- postgres
environment:
ConnectionStrings__DefaultConnection: "Host=postgres;Port=5432;Database=comment-map;Username=comment-map;Password=P@ssw0rd"
AllowedHosts: "*"
ASPNETCORE_HTTP_PORTS: 8080
ASPNETCORE_ENVIRONMENT: Release
Serilog__MinimumLevel__Default: Information
Serilog__MinimumLevel__Override__Microsoft.AspNetCore: Warning
Serilog__MinimumLevel__Override__Microsoft.EntityFrameworkCore: Warning
Serilog__WriteTo__0__Name: Console
container_name: commentmap-mvc
ports:
- "127.0.0.1:8080:8080"
postgres:
container_name: postgres
image: postgis/postgis:16-3.4-alpine
volumes:
- pg-data:/var/lib/postgresql/data
environment:
POSTGRES_DB: comment-map
POSTGRES_USER: comment-map
POSTGRES_PASSWORD: P@ssw0rd
ports:
- "127.0.0.1:5432:5432"
mailhog:
image: mailhog/mailhog:v1.0.1
container_name: mailhog
ports:
- "127.0.0.1:8025:8025"
- "127.0.0.1:1025:1025"
commentmap-emailsender:
image: ${DOCKER_REGISTRY-}commentmap-emailsender
build:
context: .
dockerfile: CommentMap.EmailSender/Dockerfile
rabbitmq:
container_name: rabbitmq
image: rabbitmq:4.0.4-management
ports:
- "127.0.0.1:15672:15672"
- "127.0.0.1:5672:5672"
environment:
RABBITMQ_DEFAULT_USER: commentmap
RABBITMQ_DEFAULT_PASS: P@ssw0rd
RABBITMQ_DEFAULT_VHOST: commentmap
volumes:
- rabbitmq-data:/var/lib/rabbitmq/mnesia
volumes:
pg-data:
rabbitmq-data: