Prepare gated Gitea HTTPS and SSH cutover

This commit is contained in:
Fabio Scotto di Santolo
2026-10-01 22:09:57 +02:00
parent 9b5ee77905
commit 31fedb8d44
13 changed files with 221 additions and 42 deletions

View File

@@ -13,6 +13,10 @@ services:
- "127.0.0.1:81:81"
extra_hosts:
- "host.containers.internal:host-gateway"
{% if server_gitea_on_atlas | bool %}
# Keep both existing NPM Proxy Hosts unchanged; their gitea name now resolves to Atlas.
- "gitea:{{ server_gitea_atlas_address }}"
{% endif %}
volumes:
- "/opt/npm/data:/data{{ ':' ~ selinux_volume_option if selinux_volume_option else '' }}"
- "/opt/npm/letsencrypt:/etc/letsencrypt{{ ':' ~ selinux_volume_option if selinux_volume_option else '' }}"
@@ -38,6 +42,7 @@ services:
# networks:
# - web
{% if not server_gitea_on_atlas | bool %}
gitea:
image: docker.gitea.com/gitea:1.25.2
container_name: gitea
@@ -55,6 +60,7 @@ services:
ports:
- "3000:3000"
- "127.0.0.1:222:22"
{% endif %}
networks: