-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yaml
147 lines (108 loc) · 2.53 KB
/
docker-compose-dev.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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Setup the MYSQL_ROOT_PASSWORD
# export MYSQL_ROOT_PASSWORD="PASSWORD-HERE"
#
services:
mysql:
build: ./mysql-emlo
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
ports:
- "43306:3306"
volumes:
- ./vol-mysql/data:/var/lib/mysql
#phpmyadmin:
# image: phpmyadmin/phpmyadmin:latest
#
# links:
# - mysql:db
# ports:
# - 8088:80
omk-baxter:
build: ./omk-baxter
environment:
OMEKA_WEB_ROOT: /exhibition/baxter/
OMEKA_DB_USER: root
OMEKA_DB_PASSWORD: ${MYSQL_ROOT_PASSWORD}
OMEKA_DB_PREFIX: omeka_baxter_
ports:
- "40081:80"
links:
- mysql
volumes:
- ./omk-baxter/html:/var/www/html/exhibition/baxter
omk-wemlo:
build: ./omk-wemlo
environment:
OMEKA_WEB_ROOT: /wemlo/
OMEKA_DB_USER: root
OMEKA_DB_PASSWORD: ${MYSQL_ROOT_PASSWORD}
OMEKA_DB_PREFIX: omeka_wemlo_
ports:
- "40082:80"
links:
- mysql
volumes:
- ./omk-wemlo/html:/var/www/html/wemlo
omk-uspg:
build: ./omk-uspg
restart: always
environment:
OMEKA_WEB_ROOT: /exhibition/uspg/
OMEKA_DB_USER: root
OMEKA_DB_PASSWORD: ${MYSQL_ROOT_PASSWORD}
OMEKA_DB_PREFIX: omeka_uspg_
ports:
- "40086:80"
links:
- mysql
volumes:
- ./omk-uspg/html:/var/www/html/exhibition/uspg
omk-sw:
build: ./omk-sw
environment:
OMEKA_WEB_ROOT: /exhibition/sw/
OMEKA_DB_USER: root
OMEKA_DB_PASSWORD: ${MYSQL_ROOT_PASSWORD}
OMEKA_DB_PREFIX: omeka_sw_
ports:
- "40083:80"
links:
- mysql
volumes:
- ./omk-sw/html:/var/www/html/exhibition/sw
omeka-s:
build: ./omeka-s
environment:
OMEKA_DB_USER: root
OMEKA_DB_PASSWORD: ${MYSQL_ROOT_PASSWORD}
ports:
- "40085:80"
links:
- mysql
volumes:
- ./omeka-s/omeka-s:/var/www/html/exhibitions
wp-catalogues:
build: ./wp-emlo-catalogues
ports:
- "40084:80"
links:
- mysql
environment:
WORDPRESS_DB_HOST: mysql
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: ${MYSQL_ROOT_PASSWORD}
WORDPRESS_DB_NAME: wordpress
volumes:
- ./wp-emlo-catalogues/wp-catalogues:/var/www/html/collections
nginx:
build: ./nginx-emlo
#restart: always
links:
- wp-catalogues
- omk-baxter
- omk-sw
- omk-wemlo
- omk-uspg
- omeka-s
ports:
- "80:80"