Initialise repository structure and placeholder files. Generic functionality works i guess, need to come up with a better solution for compose templates

This commit is contained in:
boris committed 2026-07-08 10:29:51 +01:00
commit 53695f4fff
411 files changed
+7817

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
services:
gitea:
image: {{ gitea_image }}
restart: unless-stopped
env_file: .env
{% if gitea_routing_mode == "host" or gitea_publish_ssh | bool %}
ports:
{% if gitea_routing_mode == "host" %}
- "{{ gitea_http_port }}:3000"
{% endif %}
{% if gitea_publish_ssh | bool %}
- "{{ gitea_ssh_port }}:22"
{% endif %}
{% endif %}
{% if gitea_routing_mode == "traefik" %}
# internal HTTP service port: 3000; not published on the Docker host
labels:
- traefik.enable=true
- traefik.http.routers.gitea.rule=Host(`{{ gitea_domain }}`)
- traefik.http.routers.gitea.entrypoints={{ gitea_traefik_entrypoint }}
- traefik.http.routers.gitea.tls={{ gitea_traefik_tls | bool | ternary('true', 'false') }}
- traefik.http.services.gitea.loadbalancer.server.port=3000
networks:
- default
- {{ gitea_traefik_network }}
{% endif %}
volumes:
- ./data:/data
{% if gitea_routing_mode == "traefik" %}
networks:
{{ gitea_traefik_network }}:
external: true
{% endif %}