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
> Please use a [linked mysql](#linking-to-mysql-container) container or specify a connection to a [external mysql](#external-mysql-server) server.
210
+
>
211
+
> **You've been warned.**
212
+
>
213
+
> If you are already using the internal mysql server then follow these instructions to migrate to a linked mysql container:
214
+
>
215
+
> Assuming that your mysql data is available at `/opt/gitlab/mysql`
216
+
>
217
+
> ```bash
218
+
> docker run --name=mysql -d \
219
+
> -v /opt/gitlab/mysql:/var/lib/mysql \
220
+
> sameersbn/mysql:latest
221
+
>```
222
+
> This will start a mysql container with your existing mysql data.
223
+
> All you need to do now is link this mysql container to the gitlab container using the `--link mysql:mysql` option.
224
+
>
225
+
> Refer to [Linking to MySQL Container](#linking-to-mysql-container) for more information.
226
+
>
213
227
214
228
This docker image is configured to use a MySQL database backend. The database connection can be configured using environment variables. If not specified, the image will start a mysql server internally and use it. However in this case, the data stored in the mysql database will be lost if the container is stopped/deleted. To avoid this you should mount a volume at `/var/lib/mysql`.
> The internal redis server will soon be removed from the image.
458
+
GitLab uses the redis server for its key-value data store. The redis server connection details can be specified using environment variables.
449
459
450
-
> Please use a linked [redis](#linking-to-redis-container) container
451
-
> or a external [redis](#external-redis-server) server
460
+
### Internal Redis Server
452
461
453
-
> You've been warned.
462
+
The internal redis server has been removed from the image. Please use a [linked redis](#linking-to-redis-container) container or specify a [external redis](#external-redis-server) connection.
454
463
455
-
GitLab uses the redis server for its key-value data store. The redis server connection details can be specified using environment variables. If not specified, the starts a redis server internally, no additional configuration is required.
464
+
>**Notice**
465
+
>
466
+
> The internal mysql server will also be removed in the next release.
467
+
>
468
+
> If you have been using the internal mysql server, then please migrate to a using a [linked mysql server](#linking-to-mysql-container) using the migration instructions listed [here](#internal-mysql-server).
0 commit comments