Skip to content

Commit c37ccbd

Browse files
authored
Update README.md
Moved MySQL instructions
1 parent d75a810 commit c37ccbd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ The Dockerfile comes with a number of environment variables that can be set at b
2323
$ cd trac-docker-ubuntu
2424
$ docker build -t trac ./
2525
```
26-
27-
* Build it for use with a MySQL database
28-
29-
```ssh
30-
$ git clone https://github.com/mastermindg/trac-docker-ubuntu
31-
$ cd trac-docker-ubuntu
32-
$ docker build -t trac --build-arg DB_LINK="mysql://trac:trac@mysql:3306/trac" .
33-
```
3426
3527
* just pull it from Dockerhub
3628
@@ -96,6 +88,14 @@ Most of below
9688
Given the caveats and known issues surrounding MySQL,
9789
read the [MySqlDb](https://trac.edgewall.org/intertrac/MySqlDb) page
9890
before creating the database.
91+
92+
* Build it for use with a MySQL database
93+
94+
```ssh
95+
$ git clone https://github.com/mastermindg/trac-docker-ubuntu
96+
$ cd trac-docker-ubuntu
97+
$ docker build -t trac --build-arg DB_LINK="mysql://trac:trac@mysql:3306/trac" .
98+
```
9999
100100
101101
This can be run off of a mount to persist the data:

0 commit comments

Comments
 (0)