Skip to content

bmanojlovic/gitea-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitea-rpi

This Dockerfile is for Automated Builds on Docker Hub.

Usage with SQLite Database or External DB

$ docker run -d \
  --restart=always \
  --name=gitea-arm \
  -p 22:22 \
  -p 3000:3000 \
  -v /opt/gitea:/data \
  bmanojlovic/gitea-rpi:latest

Usage with linked Database

$ docker run -d \
  --restart=always \
  --name=gitea-arm \
  --link mariadb:mysql \
  -p 22:22 \
  -p 3000:3000 \
  -v /opt/gitea:/data \
  bmanojlovic/gitea-rpi:latest

Usage with custom options (for Example NGINX Proxy and Letsencrypt)

$ docker run -d \
  --restart=always \
  --name=gitea-arm \
  --link mariadb:mysql \
  -e VIRTUAL_HOST=git.sample.com \
  -e VIRTUAL_PORT=3000 \
  -e LETSENCRYPT_HOST=git.sample.com \
  -e [email protected] \
  -p 22:22 \
  -p 3000:3000 \
  -v /opt/gitea:/data \
  bmanojlovic/gitea-rpi:latest

Resources