08.10.2026
This commit is contained in:
1 parent
c3588fec2b
commit
71b8670edc
2 files changed
+102
No files matched your search
@@ -0,0 +1,81 @@
|
||||
services:
|
||||
gitea:
|
||||
image: gitea/gitea
|
||||
container_name: gitea
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# https://docs.gitea.com/advanced/config-cheat-sheet
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- GITEA__server__APP_DATA_PATH=/data/gitea
|
||||
- GITEA__server__DOMAIN
|
||||
- GITEA__server__HTTP_PORT=80
|
||||
- GITEA__server__ROOT_URL=https://${GITEA__server__DOMAIN}/
|
||||
- GITEA__server__SSH_PORT
|
||||
- GITEA__server__SSH_DOMAIN=${GITEA__server__DOMAIN}
|
||||
- GITEA__server__MINIMUM_KEY_SIZE_CHECK=false # notice!
|
||||
- GITEA__server__LFS_START_SERVER=true
|
||||
- GITEA__server__LFS_JWT_SECRET
|
||||
- GITEA__server__OFFLINE_MODE=false
|
||||
- GITEA__server__ENABLE_GZIP=true
|
||||
- GITEA__migrations__ALLOWED_DOMAINS=*
|
||||
- GITEA__storage__STORAGE_TYPE
|
||||
- GITEA__storage__MINIO_ENDPOINT
|
||||
- GITEA__storage__MINIO_ACCESS_KEY_ID
|
||||
- GITEA__storage__MINIO_SECRET_ACCESS_KEY
|
||||
- GITEA__storage__MINIO_BUCKET
|
||||
- GITEA__storage__MINIO_INSECURE_SKIP_VERIFY
|
||||
- GITEA__storage__MINIO_LOCATION
|
||||
- GITEA__storage__MINIO_USE_SSL
|
||||
- GITEA__ui__THEMES=github
|
||||
- GITEA__ui__DEFAULT_THEME=github
|
||||
- GITEA__service__DISABLE_REGISTRATION
|
||||
- GITEA__service__SHOW_REGISTRATION_BUTTON
|
||||
- GITEA__service__ENABLE_CAPTCHA
|
||||
- GITEA__service__CAPTCHA_TYPE=image
|
||||
- GITEA__openid__ENABLE_OPENID_SIGNIN
|
||||
- GITEA__openid__ENABLE_OPENID_SIGNUP
|
||||
- GITEA__mailer__ENABLED
|
||||
- GITEA__mailer__FROM
|
||||
- GITEA__mailer__SMTP_ADDR
|
||||
- GITEA__mailer__SMTP_PORT
|
||||
- GITEA__mailer__USER
|
||||
- GITEA__mailer__PASSWD
|
||||
- GITEA__actions__ENABLED=true
|
||||
- GITEA__actions__STORAGE_TYPE=${GITEA__storage__STORAGE_TYPE}
|
||||
volumes:
|
||||
- ./gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
expose:
|
||||
- 80
|
||||
ports:
|
||||
- ${GITEA__server__SSH_PORT}:22
|
||||
networks:
|
||||
webproxy:
|
||||
gitea:
|
||||
|
||||
|
||||
gitea-runner-1:
|
||||
container_name: gitea-runner-1
|
||||
restart: always
|
||||
depends_on:
|
||||
- gitea
|
||||
image: gitea/act_runner:latest
|
||||
environment:
|
||||
- GITEA_RUNNER_REGISTRATION_TOKEN
|
||||
- GITEA_INSTANCE_URL=https://${GITEA__server__DOMAIN}
|
||||
- GITEA_RUNNER_NAME=runner1
|
||||
- GITEA_RUNNER_LABELS=ubuntu-22.04:docker://node:16-bullseye
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./runner-1-data:/data
|
||||
networks:
|
||||
gitea:
|
||||
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
name: gitea
|
||||
webproxy:
|
||||
external: true
|
||||
Reference in new issue
Block a user