-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (31 loc) · 1.13 KB
/
docker-compose.yml
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
# original source: https://github.com/sameersbn/docker-gitlab/blob/master/docker-compose.yml
version: '3.5'
# please research https://docs.docker.com/compose/environment-variables/ for howto setup your environment
services:
gitlab:
container_name: gitlab
restart: always
image: registry.gitlab.com/systemkern/gitlab-ce-turnkey:latest
ports:
- "80:80"
- "443:443"
- "2222:22"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- gitlab-etc:/etc/gitlab:Z
- gitlab-log:/var/log/gitlab:Z
- gitlab-opt:/var/opt/gitlab:Z
environment:
- GITLAB_TIMEZONE=Vienna
- GITLAB_HTTPS=false
- GITLAB_SSH_PORT=2022
- GITLAB_ROOT_PASSWORD=password
- GITLAB_SECRETS_SECRET_KEY_BASE=secret11111111112222222222333333333344444444445555555555666666666612345
- GITLAB_SECRETS_OTP_KEY_BASE=secret11111111112222222222333333333344444444445555555555666666666612345
- GITLAB_SECRETS_DB_KEY_BASE=secret11111111112222222222333333333344444444445555555555666666666612345
- SSL_SELF_SIGNED=false
- TZ=Austria/Vienna
volumes:
gitlab-etc:
gitlab-log:
gitlab-opt: