docker-compose.yml


一些docker-compose-yml文件

Nexcus

1
2
3
4
5
6
7
8
9
10
version: '3'
services:
nexus:
restart: always
image: sonatype/nexus3
container_name: nexus
ports:
- 8081:8081
volumes:
- /usr/local/docker/nexus/data:/nexus-data

gitlab

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3'
services:
web:
image: 'gitlab/gitlab-ce'
restart: always
hostname: '120.79.234.127'
environment:
TZ: 'Asia/Shanghai'
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://120.79.234.127:8080'
gitlab_rails['gitlab_shell_ssh_port'] = 2222
unicorn['port'] = 8888
nginx['listen_port'] = 8080
ports:
- '8080:8080'
- '8443:443'
- '2222:22'
volumes:
- /root/user/local/docker/gitlab/config:/etc/gitlab
- /root/user/local/docker/gitlab/data:/var/opt/gitlab
- /root/user/local/docker/gitlab/logs:/var/log/gitlab