mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-12 16:26:35 +00:00
Final docker setup
This commit is contained in:
parent
f04cddcd63
commit
ac89a5d001
17
Dockerfile
17
Dockerfile
@ -16,7 +16,7 @@ RUN pip install --upgrade setuptools pip
|
|||||||
RUN useradd -ms /bin/bash frappe
|
RUN useradd -ms /bin/bash frappe
|
||||||
RUN apt-get install -y curl
|
RUN apt-get install -y curl
|
||||||
RUN apt-get install -y rlwrap
|
RUN apt-get install -y rlwrap
|
||||||
RUN apt-get install redis-server
|
RUN apt-get install redis-tools
|
||||||
RUN apt-get install -y nano
|
RUN apt-get install -y nano
|
||||||
|
|
||||||
|
|
||||||
@ -29,14 +29,13 @@ RUN apt-get install -y wkhtmltopdf
|
|||||||
|
|
||||||
USER frappe
|
USER frappe
|
||||||
WORKDIR /home/frappe
|
WORKDIR /home/frappe
|
||||||
|
RUN git clone https://github.com/frappe/bench bench-repo
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
RUN cd /home/frappe
|
RUN pip install -e bench-repo
|
||||||
|
RUN apt-get install -y libmysqlclient-dev mariadb-client mariadb-common
|
||||||
|
|
||||||
#USER root
|
USER frappe
|
||||||
#RUN pip install -e bench-repo
|
WORKDIR /home/frappe/frappe-bench
|
||||||
#RUN apt-get install -y libmysqlclient-dev mariadb-client mariadb-common
|
#RUN mv /home/pyth/frappe/frappe_docker/frappe-bench/sites/common_site_config_docker.json /home/pyth/frappe/frappe_docker/frappe-bench/sites/common_site_config.json
|
||||||
#RUN chown -R frappe:frappe /home/frappe
|
#RUN mv /home/pyth/frappe/frappe_docker/frappe-bench/Procfile_docker /home/pyth/frappe/frappe_docker/frappe-bench/Procfile
|
||||||
|
|
||||||
#USER frappe
|
|
||||||
#RUN bench init frappe-bench && cd frappe-bench
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
echo "Enter a password for your database "
|
|
||||||
read DB_PASS
|
|
||||||
|
|
||||||
echo 'export DB_PASS='$DB_PASS >> ~/.bashrc
|
|
||||||
source ~/.bashrc
|
|
||||||
|
|
||||||
docker-compose up -d
|
|
@ -16,6 +16,7 @@
|
|||||||
#character_set_server = utf8
|
#character_set_server = utf8
|
||||||
#collation_server = utf8_general_ci
|
#collation_server = utf8_general_ci
|
||||||
# Import all .cnf files from configuration directory
|
# Import all .cnf files from configuration directory
|
||||||
|
bind-address = 0.0.0.0
|
||||||
!includedir /etc/mysql/mariadb.conf.d/
|
!includedir /etc/mysql/mariadb.conf.d/
|
||||||
|
|
||||||
|
|
||||||
@ -29,5 +30,3 @@ collation-server = utf8mb4_unicode_ci
|
|||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
default-character-set = utf8mb4
|
default-character-set = utf8mb4
|
||||||
|
|
||||||
|
|
||||||
|
BIN
conf/mdbdata/aria_log.00000001
Normal file
BIN
conf/mdbdata/aria_log.00000001
Normal file
Binary file not shown.
BIN
conf/mdbdata/aria_log_control
Normal file
BIN
conf/mdbdata/aria_log_control
Normal file
Binary file not shown.
299
conf/mdbdata/ib_buffer_pool
Normal file
299
conf/mdbdata/ib_buffer_pool
Normal file
@ -0,0 +1,299 @@
|
|||||||
|
3,3
|
||||||
|
3,2
|
||||||
|
3,1
|
||||||
|
2,3
|
||||||
|
2,2
|
||||||
|
2,1
|
||||||
|
1,3
|
||||||
|
1,2
|
||||||
|
1,1
|
||||||
|
0,310
|
||||||
|
0,307
|
||||||
|
0,305
|
||||||
|
0,302
|
||||||
|
0,243
|
||||||
|
0,9
|
||||||
|
4294967294,131
|
||||||
|
4294967294,130
|
||||||
|
4294967294,129
|
||||||
|
4294967294,128
|
||||||
|
4294967294,127
|
||||||
|
4294967294,126
|
||||||
|
4294967294,125
|
||||||
|
4294967294,124
|
||||||
|
4294967294,123
|
||||||
|
4294967294,122
|
||||||
|
4294967294,121
|
||||||
|
4294967294,120
|
||||||
|
4294967294,119
|
||||||
|
4294967294,118
|
||||||
|
4294967294,117
|
||||||
|
4294967294,116
|
||||||
|
4294967294,115
|
||||||
|
4294967294,114
|
||||||
|
4294967294,113
|
||||||
|
4294967294,112
|
||||||
|
4294967294,111
|
||||||
|
4294967294,110
|
||||||
|
4294967294,109
|
||||||
|
4294967294,108
|
||||||
|
4294967294,107
|
||||||
|
4294967294,106
|
||||||
|
4294967294,105
|
||||||
|
4294967294,104
|
||||||
|
4294967294,103
|
||||||
|
4294967294,102
|
||||||
|
4294967294,101
|
||||||
|
4294967294,100
|
||||||
|
4294967294,99
|
||||||
|
4294967294,98
|
||||||
|
4294967294,97
|
||||||
|
4294967294,96
|
||||||
|
4294967294,95
|
||||||
|
4294967294,94
|
||||||
|
4294967294,93
|
||||||
|
4294967294,92
|
||||||
|
4294967294,91
|
||||||
|
4294967294,90
|
||||||
|
4294967294,89
|
||||||
|
4294967294,88
|
||||||
|
4294967294,87
|
||||||
|
4294967294,86
|
||||||
|
4294967294,85
|
||||||
|
4294967294,84
|
||||||
|
4294967294,83
|
||||||
|
4294967294,82
|
||||||
|
4294967294,81
|
||||||
|
4294967294,80
|
||||||
|
4294967294,79
|
||||||
|
4294967294,78
|
||||||
|
4294967294,77
|
||||||
|
4294967294,76
|
||||||
|
4294967294,75
|
||||||
|
4294967294,74
|
||||||
|
4294967294,73
|
||||||
|
4294967294,72
|
||||||
|
4294967294,71
|
||||||
|
4294967294,70
|
||||||
|
4294967294,69
|
||||||
|
4294967294,68
|
||||||
|
4294967294,67
|
||||||
|
4294967294,66
|
||||||
|
4294967294,65
|
||||||
|
4294967294,64
|
||||||
|
4294967294,63
|
||||||
|
4294967294,62
|
||||||
|
4294967294,61
|
||||||
|
4294967294,60
|
||||||
|
4294967294,59
|
||||||
|
4294967294,58
|
||||||
|
4294967294,57
|
||||||
|
4294967294,56
|
||||||
|
4294967294,55
|
||||||
|
4294967294,54
|
||||||
|
4294967294,53
|
||||||
|
4294967294,52
|
||||||
|
4294967294,51
|
||||||
|
4294967294,50
|
||||||
|
4294967294,49
|
||||||
|
4294967294,48
|
||||||
|
4294967294,47
|
||||||
|
4294967294,46
|
||||||
|
4294967294,45
|
||||||
|
4294967294,44
|
||||||
|
4294967294,43
|
||||||
|
4294967294,42
|
||||||
|
4294967294,41
|
||||||
|
4294967294,40
|
||||||
|
4294967294,39
|
||||||
|
4294967294,38
|
||||||
|
4294967294,37
|
||||||
|
4294967294,36
|
||||||
|
4294967294,35
|
||||||
|
4294967294,34
|
||||||
|
4294967294,33
|
||||||
|
4294967294,32
|
||||||
|
4294967294,31
|
||||||
|
4294967294,30
|
||||||
|
4294967294,29
|
||||||
|
4294967294,28
|
||||||
|
4294967294,27
|
||||||
|
4294967294,26
|
||||||
|
4294967294,25
|
||||||
|
4294967294,24
|
||||||
|
4294967294,23
|
||||||
|
4294967294,22
|
||||||
|
4294967294,21
|
||||||
|
4294967294,20
|
||||||
|
4294967294,19
|
||||||
|
4294967294,18
|
||||||
|
4294967294,17
|
||||||
|
4294967294,16
|
||||||
|
4294967294,15
|
||||||
|
4294967294,14
|
||||||
|
4294967294,13
|
||||||
|
4294967294,12
|
||||||
|
4294967294,11
|
||||||
|
4294967294,10
|
||||||
|
4294967294,9
|
||||||
|
4294967294,8
|
||||||
|
4294967294,7
|
||||||
|
4294967294,6
|
||||||
|
4294967294,5
|
||||||
|
4294967294,4
|
||||||
|
4294967294,3
|
||||||
|
4294967294,2
|
||||||
|
4294967294,0
|
||||||
|
1,0
|
||||||
|
2,0
|
||||||
|
3,0
|
||||||
|
0,308
|
||||||
|
0,304
|
||||||
|
0,303
|
||||||
|
0,12
|
||||||
|
0,10
|
||||||
|
0,8
|
||||||
|
0,0
|
||||||
|
0,300
|
||||||
|
0,299
|
||||||
|
0,298
|
||||||
|
0,297
|
||||||
|
0,296
|
||||||
|
0,295
|
||||||
|
0,294
|
||||||
|
0,293
|
||||||
|
0,292
|
||||||
|
0,291
|
||||||
|
0,290
|
||||||
|
0,289
|
||||||
|
0,288
|
||||||
|
0,287
|
||||||
|
0,286
|
||||||
|
0,285
|
||||||
|
0,284
|
||||||
|
0,283
|
||||||
|
0,282
|
||||||
|
0,281
|
||||||
|
0,280
|
||||||
|
0,279
|
||||||
|
0,278
|
||||||
|
0,277
|
||||||
|
0,276
|
||||||
|
0,275
|
||||||
|
0,274
|
||||||
|
0,273
|
||||||
|
0,272
|
||||||
|
0,271
|
||||||
|
0,270
|
||||||
|
0,269
|
||||||
|
0,268
|
||||||
|
0,267
|
||||||
|
0,266
|
||||||
|
0,265
|
||||||
|
0,264
|
||||||
|
0,263
|
||||||
|
0,262
|
||||||
|
0,261
|
||||||
|
0,260
|
||||||
|
0,259
|
||||||
|
0,258
|
||||||
|
0,257
|
||||||
|
0,256
|
||||||
|
0,255
|
||||||
|
0,254
|
||||||
|
0,253
|
||||||
|
0,252
|
||||||
|
0,251
|
||||||
|
0,250
|
||||||
|
0,249
|
||||||
|
0,248
|
||||||
|
0,247
|
||||||
|
0,246
|
||||||
|
0,245
|
||||||
|
0,244
|
||||||
|
0,242
|
||||||
|
0,241
|
||||||
|
0,240
|
||||||
|
0,239
|
||||||
|
0,238
|
||||||
|
0,237
|
||||||
|
0,236
|
||||||
|
0,235
|
||||||
|
0,234
|
||||||
|
0,233
|
||||||
|
0,232
|
||||||
|
0,231
|
||||||
|
0,230
|
||||||
|
0,229
|
||||||
|
0,228
|
||||||
|
0,227
|
||||||
|
0,226
|
||||||
|
0,225
|
||||||
|
0,224
|
||||||
|
0,223
|
||||||
|
0,222
|
||||||
|
0,221
|
||||||
|
0,220
|
||||||
|
0,219
|
||||||
|
0,218
|
||||||
|
0,217
|
||||||
|
0,216
|
||||||
|
0,215
|
||||||
|
0,214
|
||||||
|
0,213
|
||||||
|
0,212
|
||||||
|
0,211
|
||||||
|
0,210
|
||||||
|
0,209
|
||||||
|
0,208
|
||||||
|
0,207
|
||||||
|
0,206
|
||||||
|
0,205
|
||||||
|
0,204
|
||||||
|
0,203
|
||||||
|
0,202
|
||||||
|
0,201
|
||||||
|
0,200
|
||||||
|
0,199
|
||||||
|
0,198
|
||||||
|
0,197
|
||||||
|
0,196
|
||||||
|
0,195
|
||||||
|
0,194
|
||||||
|
0,193
|
||||||
|
0,192
|
||||||
|
0,63
|
||||||
|
0,62
|
||||||
|
0,61
|
||||||
|
0,60
|
||||||
|
0,59
|
||||||
|
0,58
|
||||||
|
0,57
|
||||||
|
0,56
|
||||||
|
0,55
|
||||||
|
0,54
|
||||||
|
0,53
|
||||||
|
0,52
|
||||||
|
0,315
|
||||||
|
0,51
|
||||||
|
0,314
|
||||||
|
0,50
|
||||||
|
0,313
|
||||||
|
0,49
|
||||||
|
0,312
|
||||||
|
0,48
|
||||||
|
0,311
|
||||||
|
0,47
|
||||||
|
0,309
|
||||||
|
0,46
|
||||||
|
0,306
|
||||||
|
0,45
|
||||||
|
0,301
|
||||||
|
0,6
|
||||||
|
0,5
|
||||||
|
0,1
|
||||||
|
0,11
|
||||||
|
0,4
|
||||||
|
0,2
|
||||||
|
0,3
|
||||||
|
0,7
|
BIN
conf/mdbdata/ib_logfile0
Normal file
BIN
conf/mdbdata/ib_logfile0
Normal file
Binary file not shown.
BIN
conf/mdbdata/ib_logfile1
Normal file
BIN
conf/mdbdata/ib_logfile1
Normal file
Binary file not shown.
BIN
conf/mdbdata/ibdata1
Normal file
BIN
conf/mdbdata/ibdata1
Normal file
Binary file not shown.
0
conf/mdbdata/multi-master.info
Normal file
0
conf/mdbdata/multi-master.info
Normal file
0
conf/mdbdata/mysql/column_stats.MYD
Normal file
0
conf/mdbdata/mysql/column_stats.MYD
Normal file
BIN
conf/mdbdata/mysql/column_stats.MYI
Normal file
BIN
conf/mdbdata/mysql/column_stats.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/column_stats.frm
Normal file
BIN
conf/mdbdata/mysql/column_stats.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/columns_priv.MYD
Normal file
0
conf/mdbdata/mysql/columns_priv.MYD
Normal file
BIN
conf/mdbdata/mysql/columns_priv.MYI
Normal file
BIN
conf/mdbdata/mysql/columns_priv.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/columns_priv.frm
Normal file
BIN
conf/mdbdata/mysql/columns_priv.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/db.MYD
Normal file
0
conf/mdbdata/mysql/db.MYD
Normal file
BIN
conf/mdbdata/mysql/db.MYI
Normal file
BIN
conf/mdbdata/mysql/db.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/db.frm
Normal file
BIN
conf/mdbdata/mysql/db.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/event.MYD
Normal file
0
conf/mdbdata/mysql/event.MYD
Normal file
BIN
conf/mdbdata/mysql/event.MYI
Normal file
BIN
conf/mdbdata/mysql/event.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/event.frm
Normal file
BIN
conf/mdbdata/mysql/event.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/func.MYD
Normal file
0
conf/mdbdata/mysql/func.MYD
Normal file
BIN
conf/mdbdata/mysql/func.MYI
Normal file
BIN
conf/mdbdata/mysql/func.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/func.frm
Normal file
BIN
conf/mdbdata/mysql/func.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/general_log.CSM
Normal file
BIN
conf/mdbdata/mysql/general_log.CSM
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/general_log.CSV
Normal file
0
conf/mdbdata/mysql/general_log.CSV
Normal file
|
BIN
conf/mdbdata/mysql/general_log.frm
Normal file
BIN
conf/mdbdata/mysql/general_log.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/gtid_slave_pos.frm
Normal file
BIN
conf/mdbdata/mysql/gtid_slave_pos.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/gtid_slave_pos.ibd
Normal file
BIN
conf/mdbdata/mysql/gtid_slave_pos.ibd
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_category.MYD
Normal file
BIN
conf/mdbdata/mysql/help_category.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_category.MYI
Normal file
BIN
conf/mdbdata/mysql/help_category.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_category.frm
Normal file
BIN
conf/mdbdata/mysql/help_category.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_keyword.MYD
Normal file
BIN
conf/mdbdata/mysql/help_keyword.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_keyword.MYI
Normal file
BIN
conf/mdbdata/mysql/help_keyword.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_keyword.frm
Normal file
BIN
conf/mdbdata/mysql/help_keyword.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_relation.MYD
Normal file
BIN
conf/mdbdata/mysql/help_relation.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_relation.MYI
Normal file
BIN
conf/mdbdata/mysql/help_relation.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_relation.frm
Normal file
BIN
conf/mdbdata/mysql/help_relation.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_topic.MYD
Normal file
BIN
conf/mdbdata/mysql/help_topic.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_topic.MYI
Normal file
BIN
conf/mdbdata/mysql/help_topic.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/help_topic.frm
Normal file
BIN
conf/mdbdata/mysql/help_topic.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/host.MYD
Normal file
0
conf/mdbdata/mysql/host.MYD
Normal file
BIN
conf/mdbdata/mysql/host.MYI
Normal file
BIN
conf/mdbdata/mysql/host.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/host.frm
Normal file
BIN
conf/mdbdata/mysql/host.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/index_stats.MYD
Normal file
0
conf/mdbdata/mysql/index_stats.MYD
Normal file
BIN
conf/mdbdata/mysql/index_stats.MYI
Normal file
BIN
conf/mdbdata/mysql/index_stats.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/index_stats.frm
Normal file
BIN
conf/mdbdata/mysql/index_stats.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/innodb_index_stats.frm
Normal file
BIN
conf/mdbdata/mysql/innodb_index_stats.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/innodb_index_stats.ibd
Normal file
BIN
conf/mdbdata/mysql/innodb_index_stats.ibd
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/innodb_table_stats.frm
Normal file
BIN
conf/mdbdata/mysql/innodb_table_stats.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/innodb_table_stats.ibd
Normal file
BIN
conf/mdbdata/mysql/innodb_table_stats.ibd
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/plugin.MYD
Normal file
0
conf/mdbdata/mysql/plugin.MYD
Normal file
BIN
conf/mdbdata/mysql/plugin.MYI
Normal file
BIN
conf/mdbdata/mysql/plugin.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/plugin.frm
Normal file
BIN
conf/mdbdata/mysql/plugin.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/proc.MYD
Normal file
BIN
conf/mdbdata/mysql/proc.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/proc.MYI
Normal file
BIN
conf/mdbdata/mysql/proc.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/proc.frm
Normal file
BIN
conf/mdbdata/mysql/proc.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/procs_priv.MYD
Normal file
0
conf/mdbdata/mysql/procs_priv.MYD
Normal file
BIN
conf/mdbdata/mysql/procs_priv.MYI
Normal file
BIN
conf/mdbdata/mysql/procs_priv.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/procs_priv.frm
Normal file
BIN
conf/mdbdata/mysql/procs_priv.frm
Normal file
Binary file not shown.
1
conf/mdbdata/mysql/proxies_priv.MYD
Normal file
1
conf/mdbdata/mysql/proxies_priv.MYD
Normal file
@ -0,0 +1 @@
|
|||||||
|
˙localhost root Yx‚†˙947e6b19de65 root Yx‚†
|
BIN
conf/mdbdata/mysql/proxies_priv.MYI
Normal file
BIN
conf/mdbdata/mysql/proxies_priv.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/proxies_priv.frm
Normal file
BIN
conf/mdbdata/mysql/proxies_priv.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/roles_mapping.MYD
Normal file
0
conf/mdbdata/mysql/roles_mapping.MYD
Normal file
BIN
conf/mdbdata/mysql/roles_mapping.MYI
Normal file
BIN
conf/mdbdata/mysql/roles_mapping.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/roles_mapping.frm
Normal file
BIN
conf/mdbdata/mysql/roles_mapping.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/servers.MYD
Normal file
0
conf/mdbdata/mysql/servers.MYD
Normal file
BIN
conf/mdbdata/mysql/servers.MYI
Normal file
BIN
conf/mdbdata/mysql/servers.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/servers.frm
Normal file
BIN
conf/mdbdata/mysql/servers.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/slow_log.CSM
Normal file
BIN
conf/mdbdata/mysql/slow_log.CSM
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/slow_log.CSV
Normal file
0
conf/mdbdata/mysql/slow_log.CSV
Normal file
|
BIN
conf/mdbdata/mysql/slow_log.frm
Normal file
BIN
conf/mdbdata/mysql/slow_log.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/table_stats.MYD
Normal file
0
conf/mdbdata/mysql/table_stats.MYD
Normal file
BIN
conf/mdbdata/mysql/table_stats.MYI
Normal file
BIN
conf/mdbdata/mysql/table_stats.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/table_stats.frm
Normal file
BIN
conf/mdbdata/mysql/table_stats.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/tables_priv.MYD
Normal file
0
conf/mdbdata/mysql/tables_priv.MYD
Normal file
BIN
conf/mdbdata/mysql/tables_priv.MYI
Normal file
BIN
conf/mdbdata/mysql/tables_priv.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/tables_priv.frm
Normal file
BIN
conf/mdbdata/mysql/tables_priv.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone.MYD
Normal file
BIN
conf/mdbdata/mysql/time_zone.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone.MYI
Normal file
BIN
conf/mdbdata/mysql/time_zone.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone.frm
Normal file
BIN
conf/mdbdata/mysql/time_zone.frm
Normal file
Binary file not shown.
0
conf/mdbdata/mysql/time_zone_leap_second.MYD
Normal file
0
conf/mdbdata/mysql/time_zone_leap_second.MYD
Normal file
BIN
conf/mdbdata/mysql/time_zone_leap_second.MYI
Normal file
BIN
conf/mdbdata/mysql/time_zone_leap_second.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_leap_second.frm
Normal file
BIN
conf/mdbdata/mysql/time_zone_leap_second.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_name.MYD
Normal file
BIN
conf/mdbdata/mysql/time_zone_name.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_name.MYI
Normal file
BIN
conf/mdbdata/mysql/time_zone_name.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_name.frm
Normal file
BIN
conf/mdbdata/mysql/time_zone_name.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_transition.MYD
Normal file
BIN
conf/mdbdata/mysql/time_zone_transition.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_transition.MYI
Normal file
BIN
conf/mdbdata/mysql/time_zone_transition.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_transition.frm
Normal file
BIN
conf/mdbdata/mysql/time_zone_transition.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_transition_type.MYD
Normal file
BIN
conf/mdbdata/mysql/time_zone_transition_type.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_transition_type.MYI
Normal file
BIN
conf/mdbdata/mysql/time_zone_transition_type.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/time_zone_transition_type.frm
Normal file
BIN
conf/mdbdata/mysql/time_zone_transition_type.frm
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/user.MYD
Normal file
BIN
conf/mdbdata/mysql/user.MYD
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/user.MYI
Normal file
BIN
conf/mdbdata/mysql/user.MYI
Normal file
Binary file not shown.
BIN
conf/mdbdata/mysql/user.frm
Normal file
BIN
conf/mdbdata/mysql/user.frm
Normal file
Binary file not shown.
2
conf/mdbdata/performance_schema/db.opt
Normal file
2
conf/mdbdata/performance_schema/db.opt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
default-character-set=utf8
|
||||||
|
default-collation=utf8_general_ci
|
27
dbench
Executable file
27
dbench
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
usage="$(basename "$0") [-h] [-c "<command to be executed inside container>"]
|
||||||
|
|
||||||
|
where:
|
||||||
|
-h show this help text
|
||||||
|
-c execute a command inside docker using docker exec"
|
||||||
|
|
||||||
|
if [[ $# -eq 0 ]]; then
|
||||||
|
temp="docker exec -it frappe bash"
|
||||||
|
$temp
|
||||||
|
else
|
||||||
|
while getopts ':hc:' option; do
|
||||||
|
echo $option
|
||||||
|
case "$option" in
|
||||||
|
h) echo "$usage"
|
||||||
|
exit
|
||||||
|
;;
|
||||||
|
c) seed=$OPTARG
|
||||||
|
temp="docker exec frappe bash -c 'su frappe -c \"bench $OPTARG\"; exec \"${SHELL:-sh}\"'"
|
||||||
|
exec="true"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
if [[ "$exec" == "true" ]]; then
|
||||||
|
$temp
|
||||||
|
fi
|
||||||
|
shift $((OPTIND - 1))
|
||||||
|
fi
|
@ -3,28 +3,63 @@ services:
|
|||||||
mariadb:
|
mariadb:
|
||||||
image: "mariadb"
|
image: "mariadb"
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=${DB_PASS}
|
- MYSQL_ROOT_PASSWORD=123
|
||||||
- MYSQL_USER=root
|
- MYSQL_USER=root
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
|
container_name: mariadb
|
||||||
|
|
||||||
redis:
|
redis-cache:
|
||||||
image: "redis:alpine"
|
image: redis:alpine
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- ./redis-conf/redis_cache.conf:/etc/conf.d/redis.conf
|
||||||
|
|
||||||
|
command: ["redis-server","/etc/conf.d/redis.conf"]
|
||||||
|
|
||||||
|
container_name: redis-cache
|
||||||
|
|
||||||
|
redis-queue:
|
||||||
|
image: redis:alpine
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- ./redis-conf/redis_queue.conf:/etc/conf.d/redis.conf
|
||||||
|
|
||||||
|
command: ["redis-server","/etc/conf.d/redis.conf"]
|
||||||
|
|
||||||
|
container_name: redis-queue
|
||||||
|
|
||||||
|
redis-socketio:
|
||||||
|
image: redis:alpine
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- ./redis-conf/redis_socketio.conf:/etc/conf.d/redis.conf
|
||||||
|
|
||||||
|
command: ["redis-server","/etc/conf.d/redis.conf"]
|
||||||
|
|
||||||
|
container_name: redis-socketio
|
||||||
|
|
||||||
frappe:
|
frappe:
|
||||||
volumes:
|
volumes:
|
||||||
- ./frappe:/home/frappe
|
- ./frappe-bench:/home/frappe/frappe-bench
|
||||||
|
- /home/pyth/frappe/bench_frappe/bench:/home/frappe/bench-repo
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
links:
|
links:
|
||||||
- redis
|
- redis-cache
|
||||||
|
- redis-queue
|
||||||
|
- redis-socketio
|
||||||
- mariadb
|
- mariadb
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
- redis
|
- redis-cache
|
||||||
|
- redis-queue
|
||||||
|
- redis-socketio
|
||||||
|
container_name: frappe
|
||||||
|
|
||||||
|
#TODO: bind ports of the redis and frappe containers
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user