forked from eddumelendez/javaee-docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (60 loc) · 1.37 KB
/
docker-compose.yml
File metadata and controls
60 lines (60 loc) · 1.37 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
registryv1:
image: registry:0.9.1
ports:
- "5000:5000"
environment:
- DISABLE_TOKEN_AUTH=true
- SETTINGS_FLAVOR=local
- SEARCH_BACKEND=sqlalchemy
- STORAGE_PATH=/var/lib/registry
volumes:
- /srv/docker/registry_v1:/var/lib/registry
restart: always
httpserver:
build: dockerfiles/lab-httpd-server/
ports:
- "8082:80"
restart: always
nexus:
image: sonatype/nexus:oss
ports:
- "8081:8081"
volumes_from:
- nexusdata
restart: always
postgresqlgitlab:
image: sameersbn/postgresql:9.4
environment:
- DB_USER=gitlab
- DB_PASS=password
- DB_NAME=gitlabhq_production
volumes:
- /srv/docker/gitlab/postgresql:/var/lib/postgresql
restart: always
redisgitlab:
image: sameersbn/redis:latest
volumes:
- /srv/docker/gitlab/redis:/var/lib/redis
restart: always
gitlab:
image: sameersbn/gitlab:7.10.4
links:
- redisgitlab:redisio
- postgresqlgitlab:postgresql
ports:
- "10080:80"
- "10022:22"
environment:
- GITLAB_HOST=localhost
- GITLAB_PORT=10080
- GITLAB_SSH_PORT=10022
- GITLAB_ROOT_PASSWORD=dockeradmin
- GITLAB_USERNAME_CHANGE=false
- GITLAB_CREATE_GROUP=false
- GITLAB_PROJECTS_ISSUES=false
- GITLAB_PROJECTS_MERGE_REQUESTS=false
- GITLAB_PROJECTS_WIKI=false
- GITLAB_BACKUPS=disable
volumes:
- /srv/docker/gitlab/gitlab:/home/git/data
restart: always