Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gitlab
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
gitlab
Commits
dc33dff0
Commit
dc33dff0
authored
Aug 07, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configured to use redis over IP; enabled gitlab service
parent
1a8cf262
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
Makefile
Makefile
+19
-4
No files found.
Makefile
View file @
dc33dff0
all
:
database-config
all
:
database-config
resque-yml
rm
/etc/passwd
mv
-v
/data/etc/passwd /etc/passwd
rm
/etc/group
...
...
@@ -59,12 +59,15 @@ all: database-config
sudo
-u
git
-H
git
config
--global
repack.writeBitmaps
true
sudo
-u
git
-H
git
config
--global
receive.advertisePushOptions
true
sudo
-u
git
-H
git
config
--global
core.fsyncObjectFiles
true
cd
/home/git/gitlab
&&
sudo
-u
git
-H
mv
config/resque.yml.example
config/resque.yml
@echo
"$$DATABASE_CONFIG"
>
/home/git/gitlab/config/database.yml
cd
/home/git/gitlab
&&
chown
-R
git.git
config/database.yml
cd
/home/git/gitlab
&&
sudo
-u
git
-H
chmod
o-rwx
config/database.yml
@echo
"$$RESQUE_YML"
>
/home/git/gitlab/config/resque.yml
cd
/home/git/gitlab
&&
chown
-R
git.git
config/resque.yml
cd
/home/git/gitlab
&&
sudo
-u
git
-H
chmod
o-rwx
config/resque.yml
cd
/home/git/gitlab
&&
sudo
-u
git
-H
HOME
=
$(CURDIR)
/gitlab-home bundle
install
--deployment
--without
development
test
mysql aws kerberos
cd /home/git/gitlab && sudo -u git -H HOME=$(CURDIR)/gitlab-home PATH=$$PATH
:
$(CURDIR)/../go/go/bin GOCACHE=$(CURDIR)/gitlab-home/gocache bundle exec rake gitlab:shell:install RAILS_ENV=production
mv
/home/git/gitlab-shell /srv/gitlab-shell
...
...
@@ -84,8 +87,7 @@ all: database-config
cd
/home/git/gitlab
&&
sudo
-u
git
-H
HOME
=
$(CURDIR)
/gitlab-home yarn
install
--production
--pure-lockfile
cd
/home/git/gitlab
&&
sudo
-u
git
-H
HOME
=
$(CURDIR)
/gitlab-home bundle
exec
rake gitlab:assets:compile
RAILS_ENV
=
production
NODE_ENV
=
production
NODE_OPTIONS
=
"--max-old-space-size=3072"
install
-v
-m775
-o
git
-g
git
-d
/var/run/redis
sudo
-u
git
/usr/bin/redis-server
/etc/redis/redis.conf
--daemonize
yes
--unixsocket
/var/run/redis/redis.sock
--supervised
no
sudo
-u
git
/usr/bin/redis-server
/etc/redis/redis.conf
--daemonize
yes
--supervised
no
install
-v
-m775
-o
postgres
-g
postgres
-d
/run/postgresql
sudo
-u
postgres
/usr/bin/pg_ctl
-s
-D
/srv/pgsql/data
start
-w
-t
120
sudo
-u
postgres
psql
-d
template1
-c
"CREATE USER git CREATEDB;"
...
...
@@ -103,6 +105,8 @@ all: database-config
install
-v
-m755
/home/git/gitlab/lib/support/init.d/gitlab
/etc/init.d/gitlab
install
-v
-m644
/home/git/gitlab/lib/support/init.d/gitlab.default.example
/etc/default/gitlab
systemctl
enable
gitlab.service
rm
-rf
/usr/local/share/.yarnrc
/bin/sh
cleanup
gitlab
dev
doc
git
tests
cache
ports
man
patches
node_modules
windows
macos
bytecode
maps
packed_assets
...
...
@@ -120,3 +124,14 @@ production:
database
:
gitlabhq_production
endef
export
DATABASE_CONFIG
resque-yml
:
define
RESQUE_YML
development
:
url
:
redis://localhost:6379
test
:
url
:
redis://localhost:6379
production
:
url
:
redis://localhost:6379
endef
export
RESQUE_YML
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment