From 8cf1c01d7c42d457c3d19537738fecdabad8f1b6 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 18 Sep 2023 09:56:40 +0200 Subject: [PATCH] upt playbook --- bookstack/.env/db_password | 1 + bookstack/.env/db_root_password | 1 + gitlab/docker-compose.yml | 49 +++++++++++++++++++++++++++++++++ nextcloud/.env/db_password | 0 nextcloud/.env/db_root_password | 0 5 files changed, 51 insertions(+) create mode 100644 bookstack/.env/db_password create mode 100644 bookstack/.env/db_root_password create mode 100644 gitlab/docker-compose.yml create mode 100644 nextcloud/.env/db_password create mode 100644 nextcloud/.env/db_root_password diff --git a/bookstack/.env/db_password b/bookstack/.env/db_password new file mode 100644 index 0000000..2adc89a --- /dev/null +++ b/bookstack/.env/db_password @@ -0,0 +1 @@ +l4c1j4yd33Du5lo \ No newline at end of file diff --git a/bookstack/.env/db_root_password b/bookstack/.env/db_root_password new file mode 100644 index 0000000..2adc89a --- /dev/null +++ b/bookstack/.env/db_root_password @@ -0,0 +1 @@ +l4c1j4yd33Du5lo \ No newline at end of file diff --git a/gitlab/docker-compose.yml b/gitlab/docker-compose.yml new file mode 100644 index 0000000..73d41b6 --- /dev/null +++ b/gitlab/docker-compose.yml @@ -0,0 +1,49 @@ +version: '3.6' + +services: + web: + image: 'gitlab/gitlab-ce:latest' + container_name: gitlab + restart: always + network_mode: bridge + environment: + GITLAB_OMNIBUS_CONFIG: | + external_url 'https://gitlab.sectorq.eu' + nginx['listen_port'] = 80 + nginx['listen_https'] = false + gitlab_rails['ldap_enabled'] = true + gitlab_rails['ldap_servers'] = { + 'main' => { + 'label' => 'LDAP', + 'host' => '192.168.77.106', + 'port' => 389, + 'uid' => 'sAMAccountName', + 'base' => 'dc=sectorq,dc=eu' + 'bind_dn' => 'CN=admin,DC=sectorq,DC=eu', + 'password' => 'l4c1j4yd33Du5lo', + 'encryption' => 'plain', + 'verify_certificates' => false, + 'timeout' => 10, + 'active_directory' => false, + 'user_filter' => '(employeeType=developer)', + 'base' => 'ou=people,dc=sectorq,dc=eu', + 'lowercase_usernames' => 'false', + 'retry_empty_result_with_codes' => [80], + 'allow_username_or_email_login' => false, + 'block_auto_created_users' => false + } + } + + hostname: 'gitlab.sectorq.eu' + ports: + - '8780:80' + - '8743:443' + - '8722:22' + volumes: + - '/share/docker_data/gitlab/config:/etc/gitlab' + - '/share/docker_data/gitlab/logs:/var/log/gitlab' + - '/share/docker_data/gitlab/data:/var/opt/gitlab' + + shm_size: '2gb' + labels: + com.centurylinklabs.watchtower.enable: true \ No newline at end of file diff --git a/nextcloud/.env/db_password b/nextcloud/.env/db_password new file mode 100644 index 0000000..e69de29 diff --git a/nextcloud/.env/db_root_password b/nextcloud/.env/db_root_password new file mode 100644 index 0000000..e69de29