This is a Docker Image for kallithea.
284
Warning: The kallithea docker image is based on my personal repository. It may contain experimental features and therefore may not be stable. This repository contains a Dockerfile for kallithea and an example docker-compose file for a more advanced setup.
To start a simple kallithea instance do the following. You don't even need to clone this repository.
docker run -v kallithea_repos:/var/kallithea/repos -v kallithea_conf:/var/kallithea/conf --name mykallithea -p 5000:5000 domruf/kallithea -ddocker logs mykallithea to see the console output)That's it. The configuration file and the initial database will automatically be generated if they don't already exist. You can now open http://localhost:5000 in your browser and log in with the user information you see in the console output. You can also find the login information in the password.txt file in the conf volume.
For details on using docker please read the docker documentation.
The docker image as 2 volumes /var/kallithea/conf and /var/kallithea/repos. The conf contains the kallithea.ini file where you can change the configuration. And it also contains the sqlite kallithea.db database file.
To use MySQL, celery and rabbitmq you have to start a docker container for each service and change the kallithea.ini file accordingly. You can make this really simple by using a docker-compose file like the one in this repository. For details on using docker-compose please read the docker documentation.
In case you want to use the docker-compose file as it is you need to do the following.
docker-compose build to build a new version of the image. This is optinal. If you don't do this docker will download a kallithea docker image from the docker hubdocker-compose up to create a initial kallithea.ini file and all volumes and the networkuse_celery = true broker.host = rabbitmq sqlalchemy.db1.url = mysql://kallithea:kallithea@mysql/kallithea?charset=utf8 or sqlalchemy.db1.url = postgresql://kallithea:kallithea@postgres/kallitheadocker-compose stop to stop the servicesdocker-compose up -d to re-start the servicesYou can and should change the password and the email address of the initial admin account. If you are familiar with docker-compose you can of course also change all the other settings. But keep in mind that the settings in the docker-compose and the kallithea.ini file must match.
Content type
Image
Digest
Size
373.8 MB
Last updated
about 10 years ago
docker pull domruf/kallithea-docker