-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
155 lines (145 loc) · 4.76 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
version: '3.8'
services:
localstack:
image: localstack/localstack
container_name: kbomutations_localstack
ports:
- 127.0.0.1:4566:4566 # LocalStack Gateway
- 127.0.0.1:4510-4559:4510-4559 # external services port range
environment:
SERVICES: s3,sqs,lambda,dynamodb,iam,logs,ssm
# LOCALSTACK_HOST: localstack
DOCKER_HOST: unix:///var/run/docker.sock
DEFAULT_REGION: us-east-1
DEBUG: 1
# DATA_DIR: /tmp/localstack/data
LAMBDA_RUNTIME_IMAGE_MAPPING: '{"dotnet6":"public.ecr.aws/lambda/dotnet:6.2024.02.07.19-x86_64"}'
LAMBDA_RUNTIME_ENVIRONMENT_TIMEOUT: 120
LAMBDA_REMOVE_CONTAINERS: 0
PORT_WEB_UI: 8080
volumes:
- .localstack/init:/etc/localstack/init
- .localstack/lambda:/etc/localstack/lambda
- .localstack/s3data:/tmp/localstack-s3-storage
- localstack-data:/var/lib/localstack
- /var/run/docker.sock:/var/run/docker.sock
networks:
- localstack-net
wiremock:
image: wiremock/wiremock:2.35.0-1
container_name: vr_wiremock
ports:
- 8080:8080
command:
- -verbose
- -global-response-templating
volumes:
- ./wiremock:/home/wiremock
networks:
- localstack-net
acm:
image: ghcr.io/informatievlaanderen/identity-server-fake:1284967
volumes:
- ./identityserver:/home/identityserver
ports:
- "5051:80"
networks:
- localstack-net
seq:
image: datalust/seq
restart: always
ports:
- "9580:80"
environment:
ACCEPT_EULA: Y
volumes:
- seq-data:/data
networks:
- localstack-net
admin-api:
image: 460116816372.dkr.ecr.eu-west-1.amazonaws.com/verenigingsregister-adminapi:8.194.2
environment:
OrganisationRegistryUri: https://organisation.dev-vlaanderen.be/
PostgreSQLOptions__Host: db
PostgreSQLOptions__database: verenigingsregister
PostgreSQLOptions__username: root
PostgreSQLOptions__password: root
OAuth2IntrospectionOptions__ClientId: association-registry-local-dev
OAuth2IntrospectionOptions__ClientSecret: a_very=Secr3t*Key
OAuth2IntrospectionOptions__Authority: http://acm:5051
OAuth2IntrospectionOptions__IntrospectionEndpoint: http://acn:5051/connect/introspect
ElasticClientOptions__Uri: http://elastic:9200
ElasticClientOptions__Username: elastic
ElasticClientOptions__Password: local_development
ElasticClientOptions__Indices__Verenigingen: verenigingsregister-verenigingen-admin
ElasticClientOptions__Indices__DuplicateDetection: verenigingsregister-duplicate-detection
BaseUrl: http://127.0.0.1:11004/
MagdaOptions__Afzender: 1234
MagdaOptions__Hoedanigheid: 1234
MagdaOptions__Ontvanger: vip.vlaanderen.be
MagdaOptions__GeefOndernemingVkboEndpoint: http://wiremock:8080/GeefOndernemingVkboDienst-02.00/soap/WebService
MagdaOptions__GeefOndernemingEndpoint: http://wiremock:8080/GeefOndernemingDienst-02.00/soap/WebService
MagdaOptions__RegistreerInschrijvingEndpoint: http://wiremock:8080/RegistreerInschrijvingDienst-02.01/soap/WebService
MagdaOptions__Timeout: 30
COLLECTOR_URL: http://otel-collector:4317
ports:
- 11004:11004
networks:
- localstack-net
ftp:
image: rhrn/vsftpd
container_name: kbomutations_sftp
environment:
- PASSWORD=FSBhuNOR
ports:
- '21000:21'
- '20000:20000'
volumes:
- ./sftp/cert:/etc/vsftpd/
# - ./sftp/logs/vsftpd.log:/var/log/vsftpd.log
- ./sftp/files:/home/files
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.4.3
ports:
- "9200:9200"
environment:
ELASTIC_PASSWORD: local_development
discovery.type: single-node
xpack.security.transport.ssl.enabled: false
cluster.routing.allocation.disk.watermark.low: 97%
cluster.routing.allocation.disk.watermark.high: 98%
cluster.routing.allocation.disk.watermark.flood_stage: 99%
volumes:
- es-data:/usr/share/elasticsearch/data
networks:
- localstack-net
db:
container_name: kbomutations_db
image: postgres:15.0
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: verenigingsregister
ports:
- "5432:5432"
volumes:
- pg-data:/var/lib/postgresql/data
networks:
- localstack-net
otel-collector:
image: otel/opentelemetry-collector-contrib
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "4317:4317" # OTLP gRPC receiver
networks:
- localstack-net
volumes:
localstack-data:
seq-data:
pg-data:
es-data:
networks:
localstack-net: