chore: complete update

This commit is contained in:
2025-07-17 16:24:20 +02:00
parent 899227b0a4
commit 64a7051137
1300 changed files with 85570 additions and 2756 deletions

View File

@@ -0,0 +1,14 @@
- name: Stoppe laufende Container
command: docker compose down
args:
chdir: "{{ playbook_dir }}/../"
- name: Baue Images neu (ohne Cache)
command: docker compose build --no-cache
args:
chdir: "{{ playbook_dir }}/../"
- name: Starte Container neu
command: docker compose up -d
args:
chdir: "{{ playbook_dir }}/../"

View File

@@ -0,0 +1,36 @@
# Automatisch generierte .env-Datei
# Generiert durch Ansible am {{ ansible_date_time.date }}
COMPOSE_PROJECT_NAME={{ compose_project_name | default('michaelschiemer') }}
# Allgemeine Einstellungen
APP_NAME={{ app_name | default('michaelschiemer') }}
APP_ENV={{ env_vars.APP_ENV | default('production') }}
APP_DEBUG={{ env_vars.APP_DEBUG | default('false') }}
APP_PORT={{ env_vars.APP_PORT | default(80) }}
APP_SSL_PORT={{ env_vars.APP_SSL_PORT | default(443) }}
# Server-Konfiguration
APP_URL={{ 'https' if ssl_enabled | default(false) else 'http' }}://{{ app_domain }}
# Datenbank-Einstellungen
{% if lookup('vars', 'database_host', default=false) %}
DB_CONNECTION=mysql
DB_HOST={{ database_host }}
DB_PORT=3306
DB_DATABASE={{ database_name }}
DB_USERNAME={{ database_user }}
DB_PASSWORD={{ database_password | default('') }}
{% endif %}
# Redis-Konfiguration
{% if lookup('vars', 'redis_host', default=false) %}
REDIS_HOST={{ redis_host }}
REDIS_PASSWORD={{ redis_password | default(null) }}
REDIS_PORT={{ redis_port | default(6379) }}
{% endif %}
# Weitere Umgebungsspezifische Einstellungen
{% for key, value in env_vars.items() if key not in ['APP_ENV', 'APP_DEBUG', 'APP_PORT', 'APP_SSL_PORT'] %}
{{ key }}={{ value }}
{% endfor %}