add gitea

This commit is contained in:
Jared Smith committed 2022-06-11 10:36:26 +10:00
1 parent 8a9f7df5ea
commit ff7dd7b04d
2 files changed
+25

No files matched your search

+1
View File
@@ -0,0 +1 @@
DB_PASSWORD=
+24
View File
@@ -0,0 +1,24 @@
version: "3"
services:
server:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=sql.jaredtsmith.com:3306
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=${DB_PASSWORD}
- GITEA__server__ROOT_URL=https://git.jaredtsmith.com/
- GITEA__server__SSH_DOMAIN=git.jaredtsmith.com
- GITEA__server__SSH_PORT=3022
restart: always
volumes:
- /var/gitea-data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "3022:22"