-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
94 lines (90 loc) · 2.5 KB
/
Copy pathcompose.yml
File metadata and controls
94 lines (90 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name: cli-node-docker-atlas-lab
# Core infrastructure entrypoint for the local Atlas Lab stack.
x-lab-env: &lab-env
TZ: ${TZ}
services:
gateway:
build:
context: ../..
dockerfile: infra/docker/images/gateway/Dockerfile
args:
CADDY_VERSION: ${CADDY_VERSION}
restart: unless-stopped
env_file:
- ../../env/lab.env
environment:
ATLAS_AI_LLM_ENABLED: "false"
ATLAS_WORKBENCH_ENABLED: "false"
healthcheck:
test: ["CMD-SHELL", "nc -z 127.0.0.1 $$LAB_HTTPS_PORT || exit 1"]
interval: 2s
timeout: 5s
retries: 30
start_period: 2s
ports:
- "${LAB_HTTPS_PORT}:${LAB_HTTPS_PORT}"
- "${GITLAB_HTTPS_PORT}:${GITLAB_HTTPS_PORT}"
volumes:
- gateway-certs:/etc/caddy/certs
- gateway-config:/etc/caddy/dynamic
- gateway-site:/srv
- gateway-data:/data
depends_on:
gitlab:
condition: service_started
networks:
- edge-net
- apps-net
gitlab:
image: gitlab/gitlab-ce:${GITLAB_VERSION}
hostname: ${LAB_PUBLIC_HOST}
restart: unless-stopped
shm_size: "256m"
environment:
<<: *lab-env
GITLAB_ROOT_EMAIL: ${GITLAB_ROOT_EMAIL}
GITLAB_ROOT_PASSWORD: ${GITLAB_ROOT_PASSWORD}
GITLAB_OMNIBUS_CONFIG: |
external_url '${GITLAB_EXTERNAL_URL}'
nginx['listen_port'] = 80
nginx['listen_https'] = false
letsencrypt['enable'] = false
gitlab_rails['initial_root_password'] = '${GITLAB_ROOT_PASSWORD}'
gitlab_rails['signup_enabled'] = false
gitlab_rails['time_zone'] = '${TZ}'
registry['enable'] = false
gitlab_pages['enable'] = false
prometheus_monitoring['enable'] = false
alertmanager['enable'] = false
puma['worker_processes'] = 2
sidekiq['concurrency'] = 10
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1/-/health >/dev/null || exit 1"]
interval: 30s
timeout: 10s
retries: 20
start_period: 180s
volumes:
- gitlab-config:/etc/gitlab
- gitlab-logs:/var/log/gitlab
- gitlab-data:/var/opt/gitlab
networks:
apps-net:
services-egress-net:
gw_priority: 1
networks:
edge-net:
name: cli-node-docker-atlas-lab_edge
services-egress-net:
name: cli-node-docker-atlas-lab_services_egress
apps-net:
name: cli-node-docker-atlas-lab_apps
internal: true
volumes:
gateway-certs:
gateway-config:
gateway-site:
gateway-data:
gitlab-config:
gitlab-logs:
gitlab-data: