forked from julienj/twity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
61 lines (54 loc) · 1.2 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
version: '3.4'
services:
php:
build: ./docker/php
container_name: twity_php
depends_on:
- mongo
volumes:
- .:/srv/twity:rw,cached
- ./vendor:/srv/twity/vendor:delegated
- appdata:/srv/twity/var/cache/
- appdata:/srv/twity/var/log/
- appdata:/srv/twity/var/composer
web:
build: ./docker/nginx
container_name: twity_nginx
depends_on:
- php
volumes:
- ./public:/srv/twity/public:ro
ports:
- "8080:80"
mongo:
image: mongo:4.0
container_name: twity_mongo
restart: always
ports:
- "27017:27017"
volumes:
- db-data:/data/db
rabbit:
image: rabbitmq:3-management
container_name: twity_rabbit
restart: always
ports:
- "8081:15672"
- "5672:5672"
maildev:
image: djfarrelly/maildev
container_name: twity_maildev
ports:
- "8082:80"
- "25:25"
mercure:
image: dunglas/mercure:v0.6
container_name: twity_mercure
environment:
- JWT_KEY=fzed922Ndçdz8273
- CORS_ALLOWED_ORIGINS=https://localhost:8000,https://127.0.0.1:8000,http://localhost:8080,http://127.0.0.1:8080
ports:
- "8083:80"
volumes:
db-data: {}
appdata: {}