chore: complete update
This commit is contained in:
19
ansible/netcup-simple-deploy/inventory/group_vars.yml
Normal file
19
ansible/netcup-simple-deploy/inventory/group_vars.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
# Globale Einstellungen
|
||||
|
||||
# Docker-Einstellungen
|
||||
docker_compose_version: "2.24.0"
|
||||
|
||||
# Nginx-Einstellungen
|
||||
nginx_client_max_body_size: "50M"
|
||||
nginx_worker_connections: 1024
|
||||
|
||||
# SSL-Einstellungen
|
||||
ssl_protocols: "TLSv1.2 TLSv1.3"
|
||||
|
||||
# App-Verzeichnis auf dem Server
|
||||
app_directory: "/opt/{{ app_name }}"
|
||||
|
||||
# Health Check
|
||||
health_check_url: "/health"
|
||||
health_check_timeout: 30
|
||||
26
ansible/netcup-simple-deploy/inventory/hosts.yml
Normal file
26
ansible/netcup-simple-deploy/inventory/hosts.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
# Netcup Inventar für PHP-Projekt (Fixed paths)
|
||||
|
||||
all:
|
||||
hosts:
|
||||
netcup-server:
|
||||
ansible_host: 94.16.110.151
|
||||
ansible_user: deploy
|
||||
ansible_ssh_private_key_file: /home/michael/.ssh/staging
|
||||
|
||||
# Server-Details
|
||||
domain: "test.michaelschiemer.de"
|
||||
ssl_email: "kontakt@michaelschiemer.de"
|
||||
|
||||
# App-Konfiguration
|
||||
app_name: "michaelschiemer"
|
||||
app_port: 8000
|
||||
|
||||
# Pfad zu deinem Projekt (ABSOLUT!)
|
||||
local_app_path: "/home/michael/dev/michaelschiemer" # Absoluter Pfad zu deinem Hauptprojekt
|
||||
|
||||
# Umgebungsvariablen für deine App (wird in .env geschrieben)
|
||||
app_env:
|
||||
APP_ENV: "production"
|
||||
DATABASE_URL: "sqlite:///app/data/app.db"
|
||||
# Füge hier weitere ENV-Variablen hinzu die deine App braucht
|
||||
Reference in New Issue
Block a user