mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +02:00
refactor(web-app-gitlab): restructure configuration and add OIDC support
- Added oidc feature flag in config - Removed obsolete credentials schema (initial_root_password) - Updated docker-compose.yml.j2 to use explicit GITLAB_* vars (image, version, container, volumes) - Moved initial_root_password into vars/main.yml - Introduced GITLAB_OMNIBUS_BASE and GITLAB_OMNIBUS_OIDC config lists - Switched env.j2 to use GITLAB_OMNIBUS_ALL join See conversation: https://chatgpt.com/share/68b1962c-3ee0-800f-a858-d4590ff6132a
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
||||
|
||||
web:
|
||||
image: "{{ gitlab_image }}:{{ gitlab_version }}"
|
||||
hostname: '{{ domains | get_domain(application_id) }}'
|
||||
image: "{{ GITLAB_IMAGE }}:{{ GITLAB_VERSION }}"
|
||||
hostname: '{{ GITLAB_HOSTNAME }}'
|
||||
container_name: "{{ GITLAB_CONTAINER }}"
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
ports:
|
||||
- "127.0.0.1:{{ ports.localhost.http[application_id] }}:80"
|
||||
@@ -17,7 +18,10 @@
|
||||
|
||||
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
||||
config:
|
||||
name: {{ GITLAB_CONF_VOLUME }}
|
||||
logs:
|
||||
name: {{ GITLAB_LOGS_VOLUME }}
|
||||
data:
|
||||
name: {{ GITLAB_DATA_VOLUME }}
|
||||
|
||||
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|
||||
|
Reference in New Issue
Block a user