Skip to content

Latest commit

 

History

History
43 lines (41 loc) · 980 Bytes

README.md

File metadata and controls

43 lines (41 loc) · 980 Bytes

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 \
  markusdd/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 \
  markusdd/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 LETSENCRYPT_EMAIL=info@sample.com \
  -p 22:22 \
  -p 3000:3000 \
  -v /opt/gitea:/data \
  markusdd/gitea-rpi:latest

Resources