-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathgitlab_7.3.0_with_postgresql_and_redis.pmx
84 lines (75 loc) · 2.16 KB
/
gitlab_7.3.0_with_postgresql_and_redis.pmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
name: GitLab 7.3.0 with PostgreSQL and Redis
description: This template is Gitlab with separate containers for PostgreSQL and Redis.
This is based on an image from sameersbn / gitlab. You need at least 2 GB RAM and
2 Cores to run this template!
keywords: gitlab, postgresql, redis, nginx, openssh, public
type: Default
documentation: |
GitLab with PostgrSQL + Redis
=======================
##System requirements
Recommend 2GB of RAM for your Host and 2 Cores for best performance!
##Setup
The values of environemental variables for both PostgreSQL and GitLab need to match. The Keys cannot change. Also, the aliases used in the links to Redis and Posatgres from GHitLab cannot change.
If the GitLab service does not start up, try the **Rebuild App** function on the application details page to kick start it. Watch the journal for output.
To view the GUI after launching the template, browse to http://panamax.local:10080.
##Running
__NOTE__: Please allow a few minutes for the GitLab service to start. Watch the journal output for the message:
`Checking GitLab ... Finished`
Login using the default username and password:
username: **root**
password: **5iveL!fe**
images:
- name: GitLab
source: centurylink/gitlab:7.3.0
category: Web
type: Default
ports:
- host_port: '10080'
container_port: '80'
proto: TCP
- host_port: '10022'
container_port: '22'
proto: TCP
links:
- service: PostgreSQL
alias: postgresql
- service: Redis
alias: redisio
environment:
- variable: GITLAB_PORT
value: '10080'
- variable: GITLAB_SSH_PORT
value: '22'
- variable: DB_NAME
value: gitlab
- variable: DB_USER
value: gitlabuser
- variable: DB_PASS
value: password
- name: PostgreSQL
source: centurylink/postgresql:9.3
category: DB
type: Default
expose:
- '5432'
ports:
- host_port: '5432'
container_port: '5432'
environment:
- variable: DB
value: gitlab
- variable: PASS
value: password
- variable: USER
value: gitlabuser
- name: Redis
source: sameersbn/redis:latest
category: DB
type: Default
expose:
- '6379'
ports:
- host_port: '6379'
container_port: '6379'