-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
61 lines (58 loc) · 2.01 KB
/
docker-compose.yaml
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:
mud:
image: scionaltera/agonyforge-mud-demo:latest
tty: true
ports:
- "8080:8080"
- "5005:5005"
env_file:
- mud.env
postgresql:
image: postgres:17
volumes:
- ./pgdata:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
POSTGRES_USER: postgresql
POSTGRES_PASSWORD: postgresql
POSTGRES_DB: agonyforge
# This is the highest version of RabbitMQ that is supported by AWS's "Amazon MQ"
# product as of writing this. Any message broker capable of supporting the STOMP
# protocol should be able to work. I am targeting Agony Forge at being deployed
# in AWS, so I'm trying to keep things like this as close as possible to what you'd
# see there.
rabbitmq:
image: rabbitmq:3.11.20-management
ports:
- "127.0.0.1:5672:5672"
- "127.0.0.1:15672:15672"
- "127.0.0.1:61613:61613"
volumes:
- './src/main/resources/rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins'
# If you'd rather use ActiveMQ here's a sample configuration for it.
# This is the highest version supported by AWS's "Amazon MQ" version of ActiveMQ as
# of writing this.
#
# I stopped using it and switched to RabbitMQ because this version is getting pretty
# old. Apache released an update to ActiveMQ called Artemis and Spring Boot's starter
# library for activemq stopped getting updated in favor of their artemis one. Since I
# can't use newer versions on AWS and I can't use the old Spring Boot library in the
# latest Spring Boot, it made sense to swap over to RabbitMQ which seems to be getting
# more current support over there.
#
# activemq:
# image: symptoma/activemq:5.17.1-envvars
# ports:
# - "127.0.0.1:61613:61613"
# - "127.0.0.1:8161:8161"
# environment:
# ACTIVEMQ_WEBCONSOLE_USE_DEFAULT_ADDRESS: "false"
#
# # user with access to web UI
# ACTIVEMQ_WEBADMIN_USERNAME: admin
# ACTIVEMQ_WEBADMIN_PASSWORD: admin
#
# # user with access to broker
# ACTIVEMQ_USERNAME: mud
# ACTIVEMQ_PASSWORD: mud