forked from MIKEINTOSHSYSTEMS/mikeintoshaiodashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
192 lines (180 loc) · 5.24 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
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
version: '3.9'
services:
php:
image: mikeintosh/mikeintosh-phpdashboard-app:latest
build:
context: .
dockerfile: Dockerfile
container_name: derejame_system
volumes:
- ./analytics:/var/www/html/analytics
- ./app:/var/www/html/app
- ./assets:/var/www/html/assets
- ./backend:/var/www/html/backend
- ./dist:/var/www/html/dist
#- ./docker:/var/www/html/docker
- ./help:/var/www/html/help
- ./map_files:/var/www/html/map_files
- ./src:/var/www/html/src
- ./styles:/var/www/html/styles
- ./test:/var/www/html/test
- ./config:/var/www/html/config
- ./_config.yml:/var/www/html/_config.yml
- ./compareData.html:/var/www/html/compareData.html
- ./demo.php:/var/www/html/demo.php
- ./guide.html:/var/www/html/guide.html
- ./index.php:/var/www/html/index.php
- ./main.php:/var/www/html/main.php
- ./postgre.php:/var/www/html/postgre.php
- ./script.js:/var/www/html/script.js
- ./style.css:/var/www/html/style.css
- ./test.html:/var/www/html/test.html
- ./test.php:/var/www/html/test.php
#ports:
#- "8080:80"
expose:
- "9000"
depends_on:
- db
networks:
- merqderejadevnet
nginx:
image: nginx:latest
container_name: nginx
ports:
- "8080:80"
volumes:
- ./config/nginx.conf:/etc/nginx/conf.d/default.conf
- ./analytics:/var/www/html/analytics
- ./app:/var/www/html/app
- ./assets:/var/www/html/assets
- ./backend:/var/www/html/backend
- ./dist:/var/www/html/dist
# - ./docker:/var/www/html/docker
- ./help:/var/www/html/help
- ./map_files:/var/www/html/map_files
- ./src:/var/www/html/src
- ./styles:/var/www/html/styles
- ./test:/var/www/html/test
- ./config:/var/www/html/config
- ./config/php.ini:/usr/local/etc/php/php.ini
- ./_config.yml:/var/www/html/_config.yml
- ./compareData.html:/var/www/html/compareData.html
- ./demo.php:/var/www/html/demo.php
- ./guide.html:/var/www/html/guide.html
- ./index.php:/var/www/html/index.php
- ./main.php:/var/www/html/main.php
- ./postgre.php:/var/www/html/postgre.php
- ./script.js:/var/www/html/script.js
- ./style.css:/var/www/html/style.css
- ./test.html:/var/www/html/test.html
- ./test.php:/var/www/html/test.php
depends_on:
- php
networks:
- merqderejadevnet
metabase:
image: metabase/metabase:latest
container_name: merq_derja_viz
hostname: metabase
volumes:
- ./merqderejaviz:/dev/random:ro
ports:
- 4000:3000
environment:
MB_DB_FILE: ./merqderejaviz/merqdereja.db
MB_DB_TYPE: postgres
MB_DB_DBNAME: merqderejadb
MB_DB_PORT: 5432
MB_DB_USER: merqderejadb
MB_DB_PASS: merqderejadb
MB_DB_HOST: postgres
MB_ADMIN_EMAIL: dev@merqconsultancy.org
MB_ADMIN_FIRST_NAME: MERQ
MB_ADMIN_PASSWORD: merqderejadev0
networks:
- merqderejadevnet
postgres:
image: postgres:latest
container_name: merq_dereja_postgres
hostname: postgres
environment:
POSTGRES_DB: merqderejadb
POSTGRES_USER: merqderejadb
POSTGRES_PASSWORD: merqderejadb
volumes:
- ./src/merqderejadb:/docker-entrypoint-initdb.d/merqderejadb
networks:
- merqderejadevnet
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_HOST: localhost
MYSQL_DATABASE: merqderejadev
MYSQL_ROOT_PASSWORD: merqderejadmin
MYSQL_USER: merqderejadev
MYSQL_PASSWORD: merqderejadev
volumes:
- ./src/dere_dev.sql:/docker-entrypoint-initdb.d/dere_dev.sql
networks:
- merqderejadevnet
phpmyadmin:
image: phpmyadmin
restart: always
ports:
- 3307:80
environment:
- PMA_ARBITRARY=1
- PMA_HOSTS=db
- PMA_USER=merqderejadev
- PMA_PASSWORD=merqderejadev
networks:
- merqderejadevnet
pgadmin:
image: dpage/pgadmin4
ports:
- "5434:80"
environment:
- PGADMIN_DEFAULT_EMAIL=dev@merqconsultancy.org
- PGADMIN_DEFAULT_PASSWORD=merqderejadev
volumes:
- pgadmin-data:/var/lib/pgadmin
depends_on:
- postgres
networks:
- merqderejadevnet
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: merqderejadev
MONGO_INITDB_ROOT_PASSWORD: merqderejadev
networks:
- merqderejadevnet
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: merqderejadev
ME_CONFIG_MONGODB_ADMINPASSWORD: merqderejadev
ME_CONFIG_MONGODB_URL: mongodb://merqderejadev:merqderejadev@mongo:27017/
ME_CONFIG_BASICAUTH_USERNAME: merqderejauser
ME_CONFIG_BASICAUTH_PASSWORD: merqderejauser
ME_CONFIG_SSL_ENABLED: 'false'
#ME_CONFIG_SSL_CRT_PATH: /etc/ssl/certs/server.crt
#ME_CONFIG_SSL_KEY_PATH: /etc/ssl/certs/server.key
volumes:
#- ./certs:/etc/ssl/certs
- ./mongodata/db:/data/db
networks:
- merqderejadevnet
networks:
merqderejadevnet:
volumes:
merqderejaviz:
pgadmin-data:
mongodata: