forked from kubero-dev/kubero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yaml
65 lines (64 loc) · 1.84 KB
/
docker-compose.dev.yaml
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
version: "3.9"
services:
kubero:
container_name: "kubero"
build: .
#command: ["tail", "-f", "/dev/null"] # for debugging
env_file:
- server/.env
environment:
- KUBERO_CONTEXT=kind-kubero-001 # make sure you use the context name from your mounted kubeconfig
ports:
- "8000:2000"
extra_hosts:
- "kubero-001-control-plane:192.168.65.2" # make sure you use the container name from your local kind cluster control plane
volumes:
#- .:/app
- ./kubeconfig-docker:/app/server/kubeconfig # change the port 6443 to the outside port of your local kind cluster control plane
- ./server/config.yaml:/app/server/config.yaml
gitea:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
volumes:
- ./.dockerdata/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
gitlab:
image: 'gitlab/gitlab-ee:latest'
restart: always
hostname: 'gitlab.lacolhost.com'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.lacolhost.com'
# Add any other gitlab.rb configuration here, each on its own line
ports:
- '3080:80'
- '3443:443'
- '3022:22'
volumes:
- './.dockerdata/gitlab/config:/etc/gitlab'
- './.dockerdata/gitlab/logs:/var/log/gitlab'
- './.dockerdata/gitlab/data:/var/opt/gitlab'
shm_size: '256m'
gogs:
image: gogs/gogs:latest
container_name: gogs
hostname: 'localhost'
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
volumes:
- ./.dockerdata/gogs:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "22:22"