-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (61 loc) · 1.59 KB
/
docker-compose.yml
File metadata and controls
68 lines (61 loc) · 1.59 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
62
63
64
65
66
67
68
version: '2'
services:
nginx:
image: prooph/nginx:www
ports:
- 8080:80
- 443:443
links:
- php:php
volumes:
- .:/var/www
php:
build: ./env/php
volumes:
- .:/var/www
env_file:
- ./app.env
cockpit:
image: proophsoftware/event-engine-cockpit:latest
ports:
# Note: if you need to change the port 4444 to something else, you also need to change it in ee-cockpit.config.js
- 4444:443
volumes:
- ./ee-cockpit.config.js:/var/www/ee-cockpit.config.js
# Add reverse proxy config for EE backend to avoid CORS issues
- ./env/cockpit/nginx/config/www.conf:/etc/nginx/conf.d/www.conf
# Uncomment to activate WriteModelStreamProjection
#
# event_engine_projection:
# image: prooph/php:7.4-cli
# volumes:
# - .:/app
# depends_on:
# - postgres
# command: php /app/bin/event_engine_projection.php
# # Needed so that projection is automatically restarted when new events are registered in event engine
# restart: on-failure
# env_file:
# - ./app.env
rabbit:
image: prooph/rabbitmq
ports:
- 8081:15671
- 15691:15691
volumes:
- ./env/rabbit/broker_definitions.json:/opt/definitions.json:ro
- ./env/rabbit/rabbitmq.config:/etc/rabbitmq/rabbitmq-prooph.config
env_file:
- ./app.env
postgres:
image: postgres:alpine
ports:
- 5432:5432
env_file:
- ./app.env
volumes:
- ./env/postgres/initdb.d:/docker-entrypoint-initdb.d:ro
- data-postgres:/var/lib/postgresql/data
volumes:
data-postgres:
driver: local