-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yaml
More file actions
104 lines (74 loc) · 1.95 KB
/
docker-compose-dev.yaml
File metadata and controls
104 lines (74 loc) · 1.95 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
postgres:
build: ./docker-postgres
ports:
- 45432:5432
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
rabbitmq:
image: rabbitmq:3-management-alpine
ports:
- 5672:5672
- 15672:15672
php:
build: ./emlo-edit-php
ports:
- 8080:80
links:
- postgres
- rabbitmq
- uploadermongo
env_file:
- docker-compose.php.env
volumes:
# File links between this and exporter
- ./emlo-edit-php-helper/exporter/exports:/var/www/html/exports
- ./emlo-edit-php-helper/exporter/exporter_data:/var/www/exporter/exporter_data
- ./volumes/csv:/csv
- ./volumes/ssh:/root/.ssh
# File links between this and uploader
- ./volumes/uploader:/uploader
# File links between this and exporter (tweaker)
- ./volumes/tweaker:/tweaker
# To make development easier
- ./emlo-edit-php/interface:/var/www/html
- ./emlo-edit-php/core:/var/www/core
exporter:
build: ./emlo-edit-php-helper
links:
- postgres
- rabbitmq
volumes:
# File links between this and php
- ./emlo-edit-php-helper/exporter/exports:/usr/src/app/exports
- ./emlo-edit-php-helper/exporter/exporter_data:/usr/src/app/exporter_data
# File links between this and php
- ./volumes/tweaker:/tweaker_data
# overruled by dev section - ./emlo-edit-php-helper/tweaker/resources:/usr/src/tweaker/resources
# To make development easier
- ./emlo-edit-php-helper/exporter:/usr/src/app
- ./emlo-edit-php-helper/tweaker:/usr/src/tweaker
uploader:
build: ./docker-uploader
links:
- postgres
- rabbitmq
- uploadermongo
volumes:
# File links between this and exporter
- ./volumes/uploader:/uploader
# To make development easier
- ./docker-uploader/uploader:/usr/src/app
uploadermongo:
image: mongo
ports:
- 27019:27017
nginx:
build: ./nginx
links:
- php
volumes:
- ./static:/static
ports:
- 80:80
- 443:443
- 3000:3000