mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-16 18:16:25 +00:00
Add new Shopware 6 role with OIDC/LDAP plugin integration and Docker-based deployment configuration.
Includes: - New role: web-app-shopware (Docker, MariaDB, Redis, OpenSearch) - Updated networks and ports configuration - Automated install, migration, and admin creation - Optional IAM integration via OIDC/LDAP plugins Reference: https://chatgpt.com/share/6907b0d4-ab14-800f-b576-62c0d26c8ad1
This commit is contained in:
48
roles/web-app-shopware/config/main.yml
Normal file
48
roles/web-app-shopware/config/main.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
title: "{{ SOFTWARE_NAME }} Shop"
|
||||
configuration:
|
||||
search:
|
||||
engine: "{{ SHOPWARE_SEARCH_ENGINE }}"
|
||||
features:
|
||||
central_database: true
|
||||
redis: true
|
||||
ldap: true # via plugin
|
||||
oidc: false # via plugin (Keycloak)
|
||||
logout: true
|
||||
server:
|
||||
csp:
|
||||
flags: {}
|
||||
whitelist: {}
|
||||
domains:
|
||||
aliases: []
|
||||
canonical:
|
||||
- shop.{{ PRIMARY_DOMAIN }}
|
||||
docker:
|
||||
services:
|
||||
database:
|
||||
enabled: true
|
||||
php:
|
||||
image: "{{ SHOPWARE_PHP_IMAGE }}"
|
||||
version: "{{ SHOPWARE_VERSION }}"
|
||||
name: "{{ SHOPWARE_PHP_CONTAINER }}"
|
||||
cpus: 2.0
|
||||
mem_reservation: 2g
|
||||
mem_limit: 4g
|
||||
pids_limit: 2048
|
||||
nginx:
|
||||
image: "{{ SHOPWARE_NGINX_IMAGE }}"
|
||||
version: "{{ SHOPWARE_NGINX_VERSION }}"
|
||||
name: "{{ SHOPWARE_NGINX_CONTAINER }}"
|
||||
port: 8080
|
||||
cpus: 0.5
|
||||
mem_reservation: 256m
|
||||
mem_limit: 512m
|
||||
redis:
|
||||
enabled: "{{ SHOPWARE_REDIS_ENABLED }}"
|
||||
cpus: 0.25
|
||||
mem_reservation: 256m
|
||||
mem_limit: 512m
|
||||
search:
|
||||
enabled: "{{ SHOPWARE_SEARCH_ENABLED }}"
|
||||
engine: "{{ SHOPWARE_SEARCH_ENGINE }}"
|
||||
volumes:
|
||||
data: "{{ SHOPWARE_VOLUME }}"
|
||||
Reference in New Issue
Block a user