# 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 nginx['listen_port'] = 80 nginx['listen_https'] = false 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 ]