Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. git init
  2. Initialized empty Git repository in /drone/src/.git/
  3. git remote add origin http://my-git/amaziagur/location-service.git
  4. git fetch --no-tags origin +refs/heads/master:
  5. fatal: unable to access 'http://my-git/amaziagur/location-service.git/': Couldn't resolve host 'my-git'
  6. exit status 128
  7.  
  8. version: '2'
  9. services:
  10. #PROXY
  11. gitlab:
  12. image: 'gitlab/gitlab-ce:9.1.0-ce.0'
  13. restart: always
  14. hostname: 'my-git'
  15. links:
  16. - postgresql:postgresql
  17. - redis:redis
  18. environment:
  19. GITLAB_OMNIBUS_CONFIG: |
  20. postgresql['enable'] = false
  21. gitlab_rails['db_username'] = "gitlab"
  22. gitlab_rails['db_password'] = "gitlab"
  23. gitlab_rails['db_host'] = "postgresql"
  24. gitlab_rails['db_port'] = "5432"
  25. gitlab_rails['db_database'] = "gitlabhq_production"
  26. gitlab_rails['db_adapter'] = 'postgresql'
  27. gitlab_rails['db_encoding'] = 'utf8'
  28. redis['enable'] = false
  29. gitlab_rails['redis_host'] = 'redis'
  30. gitlab_rails['redis_port'] = '6379'
  31. external_url 'http://my-git'
  32. gitlab_rails['gitlab_shell_ssh_port'] = 30022
  33. ports:
  34. # both ports must match the port from external_url above
  35. - "80:80"
  36. # the mapped port must match ssh_port specified above.
  37. - "30022:22"
  38. # the following are hints on what volumes to mount if you want to persist data
  39. volumes:
  40. - /data/gitlab/config:/etc/gitlab:rw
  41. - /data/gitlab/logs:/var/log/gitlab:rw
  42. - /data/gitlab/data:/var/opt/gitlab:rw
  43.  
  44. postgresql:
  45. restart: always
  46. image: postgres:9.6.2-alpine
  47. environment:
  48. - POSTGRES_USER=gitlab
  49. - POSTGRES_PASSWORD=gitlab
  50. - POSTGRES_DB=gitlabhq_production
  51. # the following are hints on what volumes to mount if you want to persist data
  52. volumes:
  53. - /home/foresight/postgresql:/var/lib/postgresql:rw
  54.  
  55. redis:
  56. restart: always
  57. image: redis:3.0.7-alpine
  58. # DRONE
  59. drone-server:
  60. image: drone/drone:0.7.3
  61. ports:
  62. - "8000:8000"
  63. networks:
  64. - drone
  65. - gitlab
  66. links:
  67. - gitlab
  68. volumes:
  69. - /home/drone:/var/lib/drone/
  70. environment:
  71. #@@@@@
  72. DRONE_OPEN: "true"
  73. DRONE_HOST: "http://10.0.0.200:8000"
  74. DRONE_ADMIN: amaziagur
  75. DRONE_GITLAB: "true"
  76. DRONE_GITLAB_URL: "http://10.0.0.200"
  77. DRONE_GITLAB_CLIENT: "secret"
  78. DRONE_GITLAB_SECRET: "secret"
  79. DRONE_SECRET: "my_secret"
  80. #@@@@@@@
  81. drone-agent:
  82. image: drone/drone:0.7.3
  83. command: agent
  84. depends_on:
  85. - drone-server
  86. networks:
  87. - drone
  88. volumes:
  89. - /var/run/docker.sock:/var/run/docker.sock
  90. environment:
  91. DRONE_SERVER: ws://drone-server:8000/ws/broker
  92. DRONE_DEBUG: "true"
  93. DRONE_SECRET: "our_secret_4ever_and_ever"
  94.  
  95. networks:
  96. drone:
  97. driver: bridge
  98. gitlab:
  99. driver: bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement