2023-12-28 00:28:30 +01:00
|
|
|
services:
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/services/redis.yml.j2' %}
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2025-02-04 18:14:37 +01:00
|
|
|
{% include 'roles/docker-central-database/templates/services/' + database_type + '.yml.j2' %}
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2023-12-28 00:28:30 +01:00
|
|
|
web:
|
2025-02-03 11:44:13 +01:00
|
|
|
image: "gitlab/gitlab-ee:{{applications.gitlab.version}}"
|
2023-12-28 00:28:30 +01:00
|
|
|
hostname: '{{domain}}'
|
2025-02-04 22:37:07 +01:00
|
|
|
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
|
2023-12-28 00:28:30 +01:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:{{http_port}}:80"
|
2025-01-30 15:04:23 +01:00
|
|
|
- "{{ports.public.ssh_ports[application_id]}}:22"
|
2023-12-28 00:28:30 +01:00
|
|
|
volumes:
|
|
|
|
- 'config:/etc/gitlab'
|
|
|
|
- 'logs:/var/log/gitlab'
|
|
|
|
- 'data:/var/opt/gitlab'
|
|
|
|
shm_size: '256m'
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
|
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
2023-12-28 19:44:28 +01:00
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %}
|
2023-12-31 11:14:18 +01:00
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
2023-12-31 11:14:18 +01:00
|
|
|
redis:
|
2023-12-28 12:33:48 +01:00
|
|
|
config:
|
|
|
|
logs:
|
|
|
|
data:
|