Optimized images and version configuration for dockerfiles

This commit is contained in:
2025-05-26 13:06:21 +02:00
parent 9e19a050a6
commit b599a528b8
35 changed files with 210 additions and 45 deletions

View File

@@ -4,7 +4,7 @@ services:
application:
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
image: "gitea/gitea:{{applications.gitea.version}}"
image: "{{ applications[application_id].images.gitea }}"
ports:
- "127.0.0.1:{{ports.localhost.http[application_id]}}:3000"
- "{{ports.public.ssh[application_id]}}:22"

View File

@@ -1,4 +1,5 @@
version: "latest" # Use latest docker image
images:
gitea: "gitea/gitea:latest"
configuration:
repository:
enable_push_create_user: True # Allow users to push local repositories to Gitea and have them automatically created for a user.
@@ -7,14 +8,14 @@ configuration:
features:
matomo: true
css: true
portfolio_iframe: true
portfolio_iframe: true
central_database: true
csp:
flags:
script-src:
unsafe-inline: true
unsafe-inline: true
style-src:
unsafe-inline: true
unsafe-inline: true
whitelist:
font-src:
- "data:"