21 lines
547 B
YAML
21 lines
547 B
YAML
# vim:ft=ansible:
|
|
- name: docker deploy gitlab
|
|
docker_container:
|
|
name: gitlab
|
|
image: gitlab/gitlab-ce:latest
|
|
log_driver: journald
|
|
env:
|
|
GITLAB_OMNIBUS_CONFIG: |
|
|
external_url 'https://gitlab.desu.ltd'
|
|
gitlab_rails['gitlab_shell_ssh_port'] = 2222
|
|
ports:
|
|
- 127.0.0.1:2222:22
|
|
networks:
|
|
- name: web
|
|
aliases: [ "gitlab" ]
|
|
volumes:
|
|
- /data/gitlab/config:/etc/gitlab
|
|
- /data/gitlab/logs:/var/log/gitlab
|
|
- /data/gitlab/data:/var/opt/gitlab
|
|
tags: [ docker, gitlab ]
|