Compare commits

...

5 Commits

Author SHA1 Message Date
076dad028b Update gitea/gitea Docker tag to v1.24.0 2025-06-10 08:01:26 +00:00
e7dc17aeb7 Update gitea/gitea Docker tag to v1.23.8 2025-05-13 12:06:09 +00:00
3b92504056 Update postgres Docker tag to v17.5 2025-05-09 00:00:49 +00:00
08ca3248b7 Change SSH port 2025-05-02 17:16:00 +00:00
824780d570 Enable ENABLE_NOTIFY_MAIL 2025-04-10 12:35:18 +00:00

View File

@ -2,7 +2,7 @@ name: gitea
services:
server:
image: gitea/gitea:1.23.7
image: gitea/gitea:1.24.0
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,7 +62,6 @@ services:
- root_url
- domain
- ssh_domain
- ssh_port
- mail_server
- mail_user
- mail_pass
@ -89,7 +88,7 @@ services:
- runner_token
db_pg17:
image: postgres:17.4
image: postgres:17.5
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: