-
Notifications
You must be signed in to change notification settings - Fork 322
/
docker-compose.yaml
100 lines (99 loc) · 2.85 KB
/
docker-compose.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
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
95
96
97
98
99
100
networks:
goat:
driver: bridge
services:
jenkins-server:
image: cidersecurity/goat-jenkins-server:latest
networks:
- goat
container_name: jenkins-server
restart: always
ports:
- "8080:8080"
- "50000:50000"
jenkins-agent:
image: cidersecurity/goat-jenkins-agent:latest
container_name: jenkins-agent
restart: always
networks:
- goat
environment:
- JENKINS_AGENT_SSH_PUBKEY=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC33zkdtvwp8giZLp1mVUbqzCKi0KIiWD8/towT0+9k1SCDYjJ/YVPqKidkSefYaKBgJ1yFcWa9qroXAUd5nACXN3Xdes2fe4w+xZ8GQTpqHKyStEHy6R9QXi00r/VxGcmBYZWLifEyzV//PiRC+hUaG27JeeBnkZ1FEOyXUunpaPixNaDkfnLbCimflkd2uYH2arMY+FdOH950ezow/+v4vsNrzoMwVVCCSg/dIJBS2G/JaoAbbQgIGo63Kyz0j++rIInsXMFmxhy9hEpViX/tEorFzGh4gUvJPLy3IDjWjUz/Nfte9By6usQjN/1plJcuP+rUqrjjGeMpfhDP6aq5ZvfuPTmXOVkWJ9vJZaK2BCtSZk1vOJR4luxCyUZQbKgb3jS9YZ4N1ZS26z3EKwJGP/acNtEMx2u2zhY7zXdG7ca1Qo1yeVDMRctlvH++KMEYX/ZR6LqYlJyV6TFICZVUT7dLF65gq68UyIFswMu9pQ8/VvIMkkO6eiU1cqFr8gc=
gitea:
image: cidersecurity/goat-gitea:latest
container_name: gitea
restart: always
environment:
- USER_UID=1000
- USER_GID=1000
networks:
- goat
ports:
- "3000:3000"
ctfd:
image: cidersecurity/goat-ctfd:latest
container_name: ctfd
restart: always
ports:
- "8000:8000"
networks:
- goat
localstack:
image: localstack/localstack:3.0.2
container_name: localstack
restart: always
networks:
- goat
prod:
image: cidersecurity/goat-prod:latest
container_name: prod
privileged: true
restart: always
networks:
- goat
ports:
- "8008:80"
- "2222:22"
gitlab:
image: cidersecurity/goat-gitlab:latest
container_name: gitlab
restart: always
hostname: 'gitlab'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://gitlab'
registry_external_url 'https://gitlab:5050'
letsencrypt['enable'] = false
gitlab_rails['initial_shared_runners_registration_token'] = "GR1348hansd87fyzDiqyZeuHuxe"
gitlab_rails['smtp_enable'] = false
gitlab_kas['enable'] = false
sentinel['enable'] = false
logrotate['enable'] = false
pages_nginx['enable'] = false
grafana['enable'] = false
prometheus_monitoring['enable'] = false
alertmanager['enable'] = false
networks:
- goat
ports:
- '4000:80'
- '5050:5050'
shm_size: '256m'
gitlab-runner:
image: cidersecurity/goat-gitlab-runner:latest
privileged: true
container_name: gitlab-runner
restart: always
networks:
- goat
shm_size: '256m'
docker:
image: docker:20.10.21-dind
privileged: true
container_name: docker
restart: always
environment:
DOCKER_TLS_CERTDIR: ""
command: --insecure-registry=gitlab:5050
networks:
- goat