-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
56 lines (54 loc) · 1.53 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
version: "3"
services:
gitlab:
image: gitlab/gitlab-ce:${GITLAB_VERSION:-latest}
platform: linux/amd64
shm_size: 256m
ports:
- 9042:80
environment:
GITLAB_ROOT_PASSWORD: "FoQ7PaTZqWaftrZ7zvAK"
GITLAB_TOKEN: $GITLAB_TOKEN
GIT_PROVIDER_ORGANIZATION: $GIT_PROVIDER_ORGANIZATION
GIT_PROVIDER_USER: $GIT_PROVIDER_USER
GITLAB_TEST_REPO_NAME: $GITLAB_TEST_REPO_NAME
GITLAB_TEST_SUBGROUP: $GITLAB_TEST_SUBGROUP
GITLAB_TEST_TEAM_NAME: $GITLAB_TEST_TEAM_NAME
labels:
go-git-provider/owned: ""
volumes:
- gitlab-config:/etc/gitlab
- gitlab-logs:/var/log/gitlab
- gitlab-data:/var/opt/gitlab
- ${PWD}/tests/gitlab/healthcheck-and-setup.sh:/healthcheck-and-setup.sh:Z
healthcheck:
test: /healthcheck-and-setup.sh
interval: 60s
timeout: 10m
gitea:
image: gitea/gitea:${GITEA_VERSION:-latest}
platform: linux/amd64
ports:
- 3000:3000
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__security__INSTALL_LOCK=${GITEA_INSTALL_LOCK:-true}
- GIT_PROVIDER_ORGANIZATION=$GIT_PROVIDER_ORGANIZATION
- GITEA_USER=$GITEA_USER
- GITEA_TEST_TEAM_NAME=$GITEA_TEST_TEAM_NAME
labels:
go-git-provider-gitea/owned: ""
volumes:
- gitea:/data
- ${PWD}/tests/gitea/healthcheck-and-setup.sh:/healthcheck-and-setup.sh:Z
healthcheck:
test: /healthcheck-and-setup.sh
interval: 60s
timeout: 10m
volumes:
gitlab-config:
gitlab-logs:
gitlab-data:
gitea: