2 changed files with 25 additions and 0 deletions
@ -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" |
Loading…
Reference in new issue