Skip to content

Commit 033f48a

Browse files
authored
Update README.md
Add MySQL run instructions
1 parent c37ccbd commit 033f48a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,17 @@ Most of below
9191
9292
* Build it for use with a MySQL database
9393
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-
```
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+
```
99+
OR
100+
* Run it with a MySQL Database
101+
```ssh
102+
$ docker run -d -p 80:80 --name trac -e DB_LINK="mysql://trac:trac@mysql:3306/trac" mastermindg/trac-ubuntu
103+
```
104+
99105
100106
101107
This can be run off of a mount to persist the data:

0 commit comments

Comments
 (0)