-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
46 lines (42 loc) · 1.12 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
version: '2'
services:
rabbitmq:
restart: always
container_name: rabbitmq
image: rabbitmq:3.6.2-management
environment:
- RABBITMQ_DEFAULT_USER=muon
- RABBITMQ_DEFAULT_PASS=microservices
ports:
- "5672:5672"
- "15672:15672"
expose:
- "5672"
- "15672"
networks:
- default
- muon
photon:
restart: always
image: muoncore/photon-lite:0.0.17
networks:
- default
- muon
entrypoint: /usr/bin/java -Duser.language=en -Duser.country=GB -Xmx2048m -jar /applocal/photon-lite-1.0.jar
command: -type h2 -muonurl amqp://muon:microservices@rabbitmq -h2path /tmp/photon
## The Muonjs gateway enables browser side Muon comms into the back end. It is experimental and not production ready. It is not necessary to write microservice style systems.
gateway:
restart: always
image: muoncore/muonjs-gateway:latest
environment:
- MUON_URL=amqp://muon:microservices@rabbitmq
links:
- rabbitmq
ports:
- "9898:9898"
networks:
- default
- muon
networks:
muon:
external: true