Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
81f26024
Commit
81f26024
authored
May 09, 2016
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support MariaDB
closes feature #21
parent
ecefee4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
14 deletions
+33
-14
README.md
README.md
+7
-14
docker-compose.yml
docker-compose.yml
+17
-0
Dockerfile
mariadb/Dockerfile
+9
-0
No files found.
README.md
View file @
81f26024
# LaraDock
[
![forthebadge
](
http://forthebadge.com/images/badges/built-
with-love.svg
)
](http://www.
zalt.me)
[
![forthebadge
](
http://forthebadge.com/images/badges/built-
by-developers.svg
)
](http://
zalt.me)
LaraDock helps you run your
**Laravel**
App on
**Docker**
real quick.
...
...
@@ -110,9 +110,10 @@ Running a virtual Container is much faster than running a full virtual Machine.
-
PHP (7.0 - 5.6 - 5.5)
-
NGINX
-
Redis
-
MySQL
-
PostgreSQL
-
Redis
-
MariaDB
-
Data Volume
Cannot find your container! we would love to have it as well. Consider contributing your container and adding it to this list.
...
...
@@ -186,7 +187,7 @@ Note: you can choose your own combination of software's (containers), another ex
docker-compose up
-d
php nginx postgres redis
```
Supported Containers:
`
php`
,
`nginx`
,
`mysql`
,
`postgres`
,
`redis`
,
`data
`
.
Supported Containers:
`
nginx`
,
`mysql`
,
`redis`
,
`postgres`
,
`mariadb`
,
`data`
,
`php
`
.
<br>
3 - Open your browser and visit your
`{Docker-IP}`
address (
`http://xxx.xxx.xxx.xxx`
).
...
...
@@ -414,20 +415,12 @@ The Log files are stored in the `docker/logs` directory.
1 - first list the current running containers with
`docker ps`
2 - enter any container with:
Example: enter the
`php`
container
```
bash
docker
exec
-it
php bash
```
Example: enter the
`nginx`
container
2 - enter any container using:
```
bash
docker
exec
-it
nginx
bash
docker
exec
-it
{
container-name-or-id
}
bash
```
3 - to exit a container, type
`exit`
.
<br>
...
...
docker-compose.yml
View file @
81f26024
...
...
@@ -32,6 +32,7 @@ services:
volumes
:
-
/var/lib/mysql
-
/var/lib/postgres
-
/var/lib/mariadb
-
/var/lib/redis
### MySQL Container #########################################
...
...
@@ -65,6 +66,22 @@ services:
links
:
-
php
### MariaDB Container #######################################
mariadb
:
build
:
./mariadb
volumes_from
:
-
data
ports
:
-
"
3306:3306"
environment
:
MYSQL_DATABASE
:
homestead
MYSQL_USER
:
homestead
MYSQL_PASSWORD
:
secret
MYSQL_ROOT_PASSWORD
:
root
links
:
-
php
### Redis Container #########################################
redis
:
...
...
mariadb/Dockerfile
0 → 100644
View file @
81f26024
FROM
mariadb:latest
MAINTAINER
Mahmoud Zalt <mahmoud@zalt.me>
VOLUME
/var/lib/mariadb
CMD
["mysqld"]
EXPOSE
3306
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment