Added correct parameters

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-28 12:33:48 +01:00
parent 04eee34915
commit 2b19cd8f97
2 changed files with 23 additions and 11 deletions

View File

@ -33,3 +33,6 @@ Variables are defined in `vars/main.yml`. Key variables include:
Include this role in your Ansible playbooks and specify the necessary variables. Run the playbook to deploy and configure GitLab in a Docker environment. Include this role in your Ansible playbooks and specify the necessary variables. Run the playbook to deploy and configure GitLab in a Docker environment.
For a detailed walkthrough and explanation of this role, refer to the conversation at [ChatGPT Session Transcript](https://chat.openai.com/share/1b0147bf-d4de-4790-b8ed-c332aa4e3ce3). For a detailed walkthrough and explanation of this role, refer to the conversation at [ChatGPT Session Transcript](https://chat.openai.com/share/1b0147bf-d4de-4790-b8ed-c332aa4e3ce3).
## Further Information
- https://ralph.blog.imixs.com/2019/06/09/running-gitlab-on-docker/

View File

@ -15,8 +15,13 @@ services:
gitlab_rails['db_port'] = 5432 gitlab_rails['db_port'] = 5432
gitlab_rails['db_username'] = '{{database_username}}' gitlab_rails['db_username'] = '{{database_username}}'
gitlab_rails['db_password'] = '{{database_password}}' gitlab_rails['db_password'] = '{{database_password}}'
ports: gitlab_rails['db_database'] = "{{database_databasename}}"
- '8929:8929' nginx['listen_port'] = 80
nginx['listen_https'] = false
#redis['enable'] = false
#gitlab_rails['redis_host'] = 'redis'
#gitlab_rails['redis_port'] = '6379'
ports: ports:
- "127.0.0.1:{{http_port}}:80" - "127.0.0.1:{{http_port}}:80"
- "{{ssh_port}}:22" - "{{ssh_port}}:22"
@ -30,3 +35,7 @@ services:
volumes: volumes:
database: database:
config:
logs:
data:
# redis: