You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://github.com/joglomedia/easydock-linux/releases"><imgsrc="https://img.shields.io/github/v/tag/joglomedia/easydock-linux?label=version"alt="EasyDock Linux version"></a>

19
+
</p>
11
20
12
21
## Features
13
22
14
-
Easydock comes with:
23
+
EasyDock Linux comes with:
15
24
16
25
- Nginx
17
26
- PHP (7.4 and 8.0)
@@ -49,12 +58,20 @@ After installation completed, if required, you could configure your `.env.easydo
49
58
easydock build
50
59
```
51
60
61
+
During the build process EasyDock will download required Docker images. Once the build completes, you could _kick-up_ your EasyDock application by executing:
62
+
63
+
```bash
64
+
easydock up
65
+
```
66
+
52
67
### Configure Nginx and PHP-FPM
53
68
54
-
- The default Nginx server configuration (app.conf) will expose your project `/public`folder.
55
-
- If your project uses different directory structure, you should adjust the configuration and update the file accordingly.
69
+
- The default Nginx server configuration `app.conf` will expose your project `/public`directory.
70
+
- If your project uses different directory structure, you should adjust the configuration in `app.conf` file accordingly.
56
71
- Your application by default accessible through localhost on port 8008 (`http://localhost:8008`)
57
-
- Supported PHP version: 7.4 & 8.0
72
+
- Currently EasyDock-Linux only support stable PHP version; 7.4 & 8.0 from `joglomedia/easydock-php` image.
73
+
74
+
The Nginx public port and PHP version could be configured inside `.env.easydock` file.
58
75
59
76
```bash
60
77
# APP PORT
@@ -64,15 +81,24 @@ APP_PORT=8008
64
81
PHP_VERSION=7.4
65
82
```
66
83
84
+
Everytime you change PHP version into `.env.easydock` file you have to run:
85
+
86
+
```bash
87
+
easydock reset && easydock build
88
+
```
89
+
90
+
_*PS: Resetting your EasyDock instance will delete the database data. You should backup your database before!*_
91
+
67
92
### Configure database connection
68
93
69
94
The default database connection for MySQL and PostgreSQL.
70
95
71
96
```bash
97
+
Database: easydockdb
72
98
Username: easydock
73
99
Password: secret
74
-
Database: easydockdb
75
-
Host: mysql ( or postgres for PostgreSQL )
100
+
Root password: rootsecret
101
+
Host name: mysql ( or postgres for PostgreSQL )
76
102
```
77
103
78
104
For security reason, you should change the default database username and password configured in `.env.easydock` file.
@@ -106,66 +132,106 @@ host: mailhog
106
132
port: 1025
107
133
```
108
134
109
-
### To start your app instance
135
+
## EasyDock Commands
136
+
137
+
EasyDock comes with handy command line interface to manage your Docker containers. Execute the following commands inside your application directory.
138
+
139
+
- Initialize EasyDock project.
140
+
141
+
```bash
142
+
easydock init
143
+
```
144
+
145
+
- Build EasyDock images
146
+
147
+
```bash
148
+
easydock build
149
+
```
150
+
151
+
- Start EasyDock application instance
110
152
111
153
```bash
112
154
easydock up
113
155
```
114
156
115
-
### To stop your app instance
157
+
- Stop EasyDock application instance
116
158
117
159
```bash
118
160
easydock stop
119
161
```
120
162
121
-
### To restart your app instance
163
+
- Restart EasyDock application instance
122
164
123
165
```bash
124
166
easydock restart
125
167
```
126
168
127
-
### To stop and delete your app instance
169
+
- Take down (stop and delete) EasyDock instance
128
170
129
171
```bash
130
172
easydock down
131
173
```
132
174
133
-
### To "SSH" into your app instance
175
+
- Access `ssh` into EasyDock application instance
134
176
135
177
```bash
136
178
easydock shell
137
179
```
138
180
139
-
### You can get application info using
181
+
- Get EasyDock application details
140
182
141
183
```bash
142
184
easydock info
143
185
```
144
186
145
-
### You can reset your running instance
187
+
- Hard reset running EasyDock instance
146
188
147
189
```bash
148
190
easydock reset
149
191
```
150
192
151
-
### Everytime you change PHP version into `.env.easydock` file you have to run
193
+
##Security Vulnerabilities and Bugs
152
194
153
-
```bash
154
-
easydock reset && easydock build
155
-
```
195
+
If you discover any security vulnerability or any bug within _EasyDock Linux_, please open an issue.
156
196
157
-
_*PS: Resetting your EasyDock instance will delete the database data*_
197
+
## Awesome People
158
198
159
-
## Security Vulnerabilities and Bugs
199
+
**EasyDock Linux** is an open-source project licensed under the MIT license with its ongoing development made possible entirely by the support of all these smart and generous people, from code contributors to financial contributors. :purple_heart:
160
200
161
-
If you discover any security vulnerability or any bug within easydock, please open an issue.
201
+
Thank you for considering contributing to this project!
162
202
163
-
##Contributing
203
+
### Project Maintainers
164
204
165
-
Thank you for considering contributing to this project!
0 commit comments