Skip to content

Instantly share code, notes, and snippets.

@lytedev
Created January 25, 2019 04:23
Show Gist options
  • Save lytedev/3c5fbef6e90346c277f27999f04b8906 to your computer and use it in GitHub Desktop.
Save lytedev/3c5fbef6e90346c277f27999f04b8906 to your computer and use it in GitHub Desktop.
Gitea Deployment

My Gitea Deployment

docker run -d \
	-e USER_UID=1000 \
	-e USER_GID=1000 \
	-e APP_NAME="git.faceless.lytedev.io" \
	-e RUN_MODE="prod" \
	-e SSH_DOMAIN="git.faceless.lytedev.io" \
	-e SSH_PORT="22" \
	-e DB_TYPE="sqlite3" \
	-e INSTALL_LOCK="false" \
	-e SECRET_KEY="false" \
	-e DISABLE_REGISTRATION="true" \
	-e REQUIRE_SIGNIN_VIEW="false" \
	-v $PWD/server/git/gitea_data/:/data \
	-p 2222:22 -p 3000:3000 \
	--name gitea gitea/gitea:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment