Created
May 7, 2015 12:50
-
-
Save noonien/38ef175d0de963c65059 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: List | |
items: | |
- kind: ReplicationController | |
apiVersion: v1 | |
metadata: | |
name: gitlab | |
namespace: internal | |
spec: | |
replicas: 1 | |
selector: | |
name: gitlab | |
template: | |
metadata: | |
labels: | |
name: gitlab | |
spec: | |
nodeSelector: | |
name: node-02 | |
containers: | |
- name: redis | |
image: redis | |
- name: gitlab | |
image: sameersbn/gitlab:7.10.1 | |
env: | |
- name: GITLAB_HOST | |
value: git.mux.ro | |
- name: GITLAB_HTTPS | |
value: "true" | |
- name: GITLAB_PORT | |
value: "443" | |
- name: GITLAB_SSH_PORT | |
value: "22" | |
- name: GITLAB_EMAIL | |
value: git@mux.ro | |
- name: GITLAB_DISPLAY_NAME | |
value: Mux Git | |
- name: GITLAB_EMAIL_REPLY_TO | |
value: no-reply@mux.ro | |
- name: GITLAB_USERNAME_CHANGE | |
value: "false" | |
- name: OAUTH_ALLOW_SSO | |
value: "true" | |
- name: OAUTH_BLOCK_AUTO_CREATED_USERS | |
value: "false" | |
- name: OAUTH_GOOGLE_API_KEY | |
value: <redacted> | |
- name: OAUTH_GOOGLE_APP_SECRET | |
value: <redacted> | |
- name: OAUTH_GOOGLE_RESTRICT_DOMAIN | |
value: mux.ro | |
- name: DB_TYPE | |
value: postgres | |
- name: DB_HOST | |
value: psql | |
- name: DB_NAME | |
value: gitlab | |
- name: DB_USER | |
value: gitlab | |
- name: DB_PASS | |
value: <redacted> | |
- name: REDIS_HOST | |
value: "127.0.0.1" | |
ports: | |
- name: http | |
containerPort: 80 | |
- name: ssh | |
containerPort: 22 | |
volumeMounts: | |
- name: git-storage | |
mountPath: /home/git/data | |
volumes: | |
- name: git-storage | |
hostPath: | |
path: /srv/internal/git | |
- kind: Service | |
apiVersion: v1 | |
metadata: | |
name: gitlab | |
namespace: internal | |
annotations: | |
http-proxy-servers: '[{"host": "git.mux.ro", "ssl": true}]' | |
spec: | |
selector: | |
name: gitlab | |
ports: | |
- name: http | |
targetPort: http | |
port: 80 | |
- kind: Service | |
apiVersion: v1 | |
metadata: | |
name: gitlab-ssh | |
namespace: internal | |
spec: | |
selector: | |
name: gitlab | |
publicIPs: | |
- 10.0.0.3 | |
ports: | |
- name: ssh | |
targetPort: ssh | |
port: 1022 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment