added links to docker hub and production docker repo (#396)
This commit is contained in:
@@ -1,11 +1,20 @@
|
|||||||
# Docker
|
# Docker
|
||||||
|
|
||||||
We bundle a simple docker that can be used for test purposes. Either pull it from docker hub or build it.
|
The Dockerfile supplied with this application is development or demonstration docker. It runs a self contained version of kimai2 against a sqlite database in the docker container.
|
||||||
|
|
||||||
|
There is an official docker repo for the kimai app that includes the Docker file from this repo and a docker file suitable for running in a production environment.
|
||||||
|
|
||||||
|
* The docker repo: [https://github.com/tobybatch/kimai2](https://github.com/tobybatch/kimai2)
|
||||||
|
* That repo on dockerhub auto-building the prod and dev conatiners: [https://hub.docker.com/r/kimai/kimai2](https://hub.docker.com/r/kimai/kimai2).
|
||||||
|
|
||||||
|
Any issues with the container rather than the application itself should be raised [here](https://github.com/tobybatch/kimai2/issues).
|
||||||
|
|
||||||
## Build the docker
|
## Build the docker
|
||||||
|
|
||||||
docker build -t kimai/kimai2:dev .
|
docker build -t kimai/kimai2:dev .
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Run the docker
|
## Run the docker
|
||||||
|
|
||||||
docker run -ti -p 8001:8001 --name kimai2 --rm kimai/kimai2:dev
|
docker run -ti -p 8001:8001 --name kimai2 --rm kimai/kimai2:dev
|
||||||
|
|||||||
Reference in New Issue
Block a user