REL-0.9 Get rid of volumes to be more compatible to windows

This commit is contained in:
cytopia 2017-05-17 13:38:11 +02:00
parent ae96dafdf5
commit 8052780520
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
2 changed files with 4 additions and 69 deletions

View File

@ -531,7 +531,8 @@ $HEALTH_PERCENT = 100 - ceil(100 * $HEALTH_FAILS / $HEALTH_TOTAL);
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 col-margin">
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 offset-lg-4 offset-md-0 offset-sm-0 col-margin">
<div class="dash-box">
<div class="dash-box-head"><i class="fa fa-wrench" aria-hidden="true"></i> Ports</div>
<div class="dash-box-body">
@ -602,48 +603,6 @@ $HEALTH_PERCENT = 100 - ceil(100 * $HEALTH_FAILS / $HEALTH_TOTAL);
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 col-margin">
<div class="dash-box">
<div class="dash-box-head"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> Socket volumes</div>
<div class="dash-box-body">
<div class="row">
<div class="container">
<table class="table table-striped table-hover table-bordered table-sm font-small">
<thead class="thead-inverse">
<tr>
<th>Host Volume</th>
<th>Docker</th>
<th>Docker path</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="2" class="align-middle">vol_mysql_sock</td>
<th>php</th>
<td>/tmp/mysql</td>
</tr>
<tr>
<td>mysql</td>
<td>/tmp/mysql</td>
</tr>
<tr>
<td rowspan="2" class="align-middle">vol_pqsql_sock</td>
<th>php</th>
<td>-</td>
</tr>
<tr>
<td>pgsql</td>
<td>/var/run/postgresql</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 col-margin">
<div class="dash-box">
<div class="dash-box-head"><i class="fa fa-hdd-o" aria-hidden="true"></i> Data mounts</div>

View File

@ -158,9 +158,6 @@ services:
# Mount logs
- ${DEVILBOX_PATH}/log/${PHP_SERVER}:/var/log/php
# Mount MySQL Socket directory
- vol_mysql_sock:/tmp/mysql
# Mount Mail directory
#- ${DEVILBOX_PATH}/run/mail:/var/mail
@ -307,15 +304,12 @@ services:
# Mount logs
- ${DEVILBOX_PATH}/log/${MYSQL_SERVER}:/var/log/mysql
# Mount MySQL Socket directory
- vol_mysql_sock:/tmp/mysql
# Mount devilbox default overwrites
- ${DEVILBOX_PATH}/.devilbox/etc/${MYSQL_SERVER}:/etc/mysql/docker-default.d
- ${DEVILBOX_PATH}/.devilbox/etc/${MYSQL_SERVER}:/etc/mysql/conf.d:ro
# Mount devilbox user-defined cnf files in order
# to overwrite the MySQL server configuration
- ${DEVILBOX_PATH}/cfg/${MYSQL_SERVER}:/etc/mysql/conf.d:ro
- ${DEVILBOX_PATH}/cfg/${MYSQL_SERVER}:/etc/mysql/docker-default.d:ro
# Mount MySQL Data directory
- ${HOST_PATH_MYSQL_DATADIR}/${MYSQL_SERVER}:/var/lib/mysql
@ -358,9 +352,6 @@ services:
# Mount logs
- ${DEVILBOX_PATH}/log/pgsql-${PGSQL_SERVER}:/var/log/postgresql
# Mount PostgreSQL Socket directory
- vol_pgsql_sock:/var/run/postgresql
# Mount PostgreSQL Data directory
- ${HOST_PATH_PGSQL_DATADIR}/${PGSQL_SERVER}:/var/lib/postgresql/data/pgdata
@ -424,21 +415,6 @@ services:
- httpd
################################################################################
# VOLUMES
################################################################################
volumes:
# Create volume for mysql socket.
# This removes the need to mount the socket to the host
# but be able to mount it to different containers (from another container)
vol_mysql_sock:
# Create volume for postgresql socket.
# This removes the need to mount the socket to the host
# but be able to mount it to different containers (from another container)
vol_pgsql_sock:
################################################################################
# NETWORK
################################################################################