File tree Expand file tree Collapse file tree 4 files changed +41
-4
lines changed
deploy/environments/dockerhub Expand file tree Collapse file tree 4 files changed +41
-4
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ It can be seen in action at gemini://git.ritesh.ch
88
99## Demo
1010
11- A local demo can be run by cloning the repository and build a local docker container that will host a sample repository within the container.
11+ A local demo can be run by cloning the repository and building a local docker container that will host a sample repository within the container.
1212
1313```
1414git clone git@github.com:masalachai/gemini-git-browser.git && cd gemini-git-browser
1515sh deploy/deploy.sh development
16- docker run -p 1965:1965 -it gemini_git_browser
16+ docker run -p 1965:1965 -it gemini_git_browser:latest
1717```
1818
1919Once the container is running, the capsule can be seen with a gemini browser at gemini://localhost/
@@ -34,11 +34,11 @@ REPO_DIR=/repositories
3434
3535```
3636# $HOME/.config/config/config.toml
37- allowed = allowed = ["masalachai", "masalachai/gemini-git-browser"]
37+ allowed = ["masalachai", "masalachai/gemini-git-browser"]
3838title = ""
3939```
4040
41- One the ` REPO_DIR ` variable and ` config.toml ` file is set, executing the binary should serve the repos at the gemini port.
41+ Once the ` REPO_DIR ` variable and ` config.toml ` file is set, executing the binary should serve the repos at the gemini port.
4242
4343## License
4444
Original file line number Diff line number Diff line change 1+ GIT_BRANCH=master
2+ PACKAGE=docker
3+ PUSH=docker
4+ DOCKER_HOME=" $HOME /.docker/ayravat"
5+ POST_PUSH=" "
6+ DOCKER_REGISTRY=https://index.docker.io/
7+ DS_DEBUG=true
Original file line number Diff line number Diff line change 1+ FROM debian:10-slim
2+
3+ ENV APP_HOME /app
4+ ENV REPO_DIR /repositories
5+
6+ WORKDIR $APP_HOME
7+ EXPOSE 1965
8+
9+ RUN apt update --fix-missing \
10+ && apt install -y libssl1.1 \
11+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
12+
13+ ADD . $APP_HOME
14+
15+ RUN mkdir -p /root/.config/config \
16+ && printf "RUST_LOG=northstar=debug bin/gemini-git-browser\n " > start.sh
17+
18+ CMD ["sh" , "start.sh" ]
Original file line number Diff line number Diff line change 1+ version : ' 3.4'
2+
3+ services :
4+ default :
5+ image : ayravat/gemini-git-browser:latest
6+ container_name : gemini_git_browser
7+ restart : always
8+ build :
9+ context : .
10+ dockerfile : Dockerfile
11+ ports :
12+ - " 1965:1965"
You can’t perform that action at this time.
0 commit comments