1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| version: "3" services: gitlab: container_name: 'gitlab' image: 'gitlab/gitlab-ce:latest' restart: always user: root hostname: '192.168.56.128' privileged: true environment: GITLAB_OMNIBUS_CONFIG: external_url 'https://192.168.56.128' ports: - '80:80' - '443:443' - '2222:22' volumes: - './data/gitlab/config:/etc/gitlab' - './data/gitlab/logs:/var/log/gitlab' - './data/gitlab/data:/var/opt/gitlab' network_mode: bridge
|