Compare commits

...

15 Commits

View File

@@ -2,7 +2,7 @@ name: gitea
services:
server:
image: gitea/gitea:1.23.7
image: gitea/gitea:1.24.6
container_name: gitea
depends_on:
- db_pg17
@@ -14,7 +14,7 @@ services:
- /etc/localtime:/etc/localtime:ro
ports:
#- "3005:3000"
- "2222:22"
- "22:22"
networks:
- internal
- runner
@@ -32,7 +32,6 @@ services:
GITEA__server__ROOT_URL__FILE: /run/secrets/root_url
GITEA__server__DOMAIN__FILE: /run/secrets/domain
GITEA__server__SSH_DOMAIN__FILE: /run/secrets/ssh_domain
GITEA__server__SSH_PORT__FILE: /run/secrets/ssh_port
GITEA__mailer__ENABLED: true
GITEA__mailer__PROTOCOL: smtp+starttls
GITEA__mailer__SMTP_PORT: 587
@@ -45,6 +44,7 @@ services:
GITEA__oauth2_client__ACCOUNT_LINKING: login
GITEA__oauth2_client__USERNAME: nickname
GITEA__openid__ENABLE_OPENID_SIGNIN: false
GITEA__service__ENABLE_NOTIFY_MAIL: true
GITEA__service__DISABLE_REGISTRATION: false
GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION: true
GITEA__service__DEFAULT_ALLOW_CREATE_ORGANIZATION: false
@@ -62,14 +62,13 @@ services:
- root_url
- domain
- ssh_domain
- ssh_port
- mail_server
- mail_user
- mail_pass
- mail_from
runner:
image: gitea/act_runner:0.2.11
image: gitea/act_runner:0.2.13
container_name: gitea_runner
depends_on:
- server
@@ -89,7 +88,7 @@ services:
- runner_token
db_pg17:
image: postgres:17.4
image: postgres:18.0
container_name: gitea_db_pg17
restart: unless-stopped
healthcheck:
@@ -147,8 +146,6 @@ secrets:
file: /srv/docker/secrets/gitea/domain.txt
ssh_domain:
file: /srv/docker/secrets/gitea/ssh_domain.txt
ssh_port:
file: /srv/docker/secrets/gitea/ssh_port.txt
mail_from:
file: /srv/docker/secrets/gitea/mail_from.txt
mail_user: