Skip to content

Commit a4caf25

Browse files
🔧 chore(application.yaml): define axonserver Spring profile
1 parent cb30d77 commit a4caf25

4 files changed

Lines changed: 14 additions & 17 deletions

File tree

docker-compose.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
services:
22
axonserver-n1:
3-
image: 'axoniq/axonserver:2025.1.2'
3+
image: 'axoniq/axonserver:2025.1.4'
44
ports:
55
- '8024:8024' # HTTP port
66
- '8124:8124' # gRPC port
7-
restart: always
87
environment:
98
axoniq_axonserver_standalone: true
109
axoniq_axonserver_hostname: axon-server
1110
axoniq_axonserver_autocluster_first: axon-server
1211
axoniq_axonserver_autocluster_contexts: _admin
1312
spring_servlet_multipart_max-file-size: 95MB
1413
spring_servlet_multipart_max-request-size: 95MB
15-
volumes:
16-
- ./axonserver/axoniq.license:/axonserver/config/axoniq.license
14+
# volumes:
15+
# - ./axonserver/axoniq.license:/axonserver/config/axoniq.license # uncomment if you have a license file
1716
postgres:
1817
image: postgres:16
19-
restart: always
2018
environment:
2119
POSTGRES_DB: heroes_of_ddd_development
2220
POSTGRES_USER: heroes_of_ddd_db_user
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
axon:
2+
axonserver:
3+
enabled: true
4+
context: default

src/main/resources/application-jpa-eventstore.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/main/resources/application.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ spring:
1818
dialect: org.hibernate.dialect.PostgreSQLDialect
1919
axon:
2020
axonserver:
21-
enabled: true
21+
enabled: false
22+
# eventhandling:
23+
# processors:
24+
# (Optional) You can override processor settings here if needed
25+
# eventstore:
26+
# No need to specify storage-engine if axon-server is disabled and JPA is on classpath
27+
# Axon will auto-configure JpaEventStorageEngine
2228
serializer:
2329
general: jackson
2430
events: jackson

0 commit comments

Comments
 (0)