Sign inSign up

davidecavestro/gitssh2

By davidecavestro

Updated almost 8 years ago

Docker image for http://www.gitssh2.com, a web client for remote git repos (ssh-based web ui).

Image
0

491

davidecavestro/gitssh2 repository overview

gitssh2-docker

An alpine based docker image for gitssh2

Get started

Download the docker-compose.yml file from the repo and run docker-compose up.

It will start the app, a mariadb instance and mailhog for you (you need docker compose installed).

You should see the app at http://localhost:8080 (user/password: admin/password) and mailhog at http://localhost:8025.

Config

Get the image from davidecavestro/gitssh2

docker pull davidecavestro/gitssh2

The configuration for db and email stuff can be passed with the following environment variables:

* SYMFONY__APP__DB__DRIVER: db driver (i.e. pdo_mysql)
* SYMFONY__APP__DB__HOST: db host
* SYMFONY__APP__DB__PORT: db port
* SYMFONY__APP__DB__NAME: database name
* SYMFONY__APP__DB__USER: user for db connection
* SYMFONY__APP__DB__PASSWORD: db user password
* SYMFONY__APP__LOCALE: locale used by php
* SYMFONY__APP__MAILER__TRANSPORT: protocol for outgoing emails (i.e. smtp)
* SYMFONY__APP__MAILER__HOST: mail server host
* SYMFONY__APP__MAILER__USER: user for outgoing email auth
* SYMFONY__APP__MAILER__PASSWORD: password for outgoing email auth

* SYMFONY__APP__SECRET: app secret
* SYMFONY__APP__SECRET__KEY: app secret key

* APP_ADMIN_USER: application admin user to be automatically created
* APP_ADMIN_EMAIL: email for automatically created user
* APP_ADMIN_PASSWORD: password for automatically created user

Please note most of the variables have double underscores and a SYMFONY__ prefix: it is due to limitations of the web framework version used for the webapp (Symfony).

Build

See docker-compose.yml for an example of supported parameters. By default it is equipped with a mariadb and a mailhog instance for easy bootstrapping.

License

MIT

Tag summary

Content type

Image

Digest

Size

116 MB

Last updated

almost 8 years ago

docker pull davidecavestro/gitssh2