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
088067fa
Commit
088067fa
authored
Mar 10, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configured gitlab
parent
95746e5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
Makefile
Makefile
+24
-1
No files found.
Makefile
View file @
088067fa
all
:
all
:
database-config
rm
/etc/passwd
rm
/etc/passwd
mv
-v
/data/etc/passwd /etc/passwd
mv
-v
/data/etc/passwd /etc/passwd
rm
/etc/group
rm
/etc/group
...
@@ -25,6 +25,20 @@ all:
...
@@ -25,6 +25,20 @@ all:
tar
xf
gitlab-foss-v13.1.0.tar.bz2
-C
/srv/www
--strip-components
=
1
tar
xf
gitlab-foss-v13.1.0.tar.bz2
-C
/srv/www
--strip-components
=
1
rm
-rf
/srv/www/index.html
rm
-rf
/srv/www/index.html
cd
/srv/www
&&
mv
config/gitlab.yml.example
config/gitlab.yml
cd
/srv/www
&&
mv
config/secrets.yml.example
config/secrets.yml
mkdir
-p
/srv/www/public/uploads
chmod
0700
/srv/www/public/uploads
cd
/srv/www
&&
mv
config/puma.rb.example
config/puma.rb
git
config
--global
core.autocrlf
input
git
config
--global
gc.auto
0
git
config
--global
repack.writeBitmaps
true
git
config
--global
receive.advertisePushOptions
true
git
config
--global
core.fsyncObjectFiles
true
cd
/srv/www
&&
mv
config/resque.yml.example
config/resque.yml
@echo
"$$DATABASE_CONFIG"
>
/srv/www/config/database.yml
cd
/srv/www
&&
HOME
=
"/tmp"
&&
bundle
install
--deployment
--without
development
test
mysql aws kerberos
cd
/srv/www
&&
HOME
=
"/tmp"
&&
bundle
install
--deployment
--without
development
test
mysql aws kerberos
cd /srv/www && HOME="/tmp" && bundle exec rake gitlab
:
shell:install RAILS_ENV=production
cd /srv/www && HOME="/tmp" && bundle exec rake gitlab
:
shell:install RAILS_ENV=production
cd
/srv/www
&&
HOME
=
"/tmp"
&&
bundle
exec
rake
"gitlab:workhorse:install[/srv/www/gitlab-workhorse]"
RAILS_ENV
=
production
cd
/srv/www
&&
HOME
=
"/tmp"
&&
bundle
exec
rake
"gitlab:workhorse:install[/srv/www/gitlab-workhorse]"
RAILS_ENV
=
production
...
@@ -40,3 +54,12 @@ postinstall:
...
@@ -40,3 +54,12 @@ postinstall:
sudo
-u
postgres psql
-d
template1
-c
"CREATE EXTENSION IF NOT EXISTS btree_gist;"
sudo
-u
postgres psql
-d
template1
-c
"CREATE EXTENSION IF NOT EXISTS btree_gist;"
sudo
-u
postgres psql
-d
template1
-c
"CREATE DATABASE gitlabhq_production OWNER git;"
sudo
-u
postgres psql
-d
template1
-c
"CREATE DATABASE gitlabhq_production OWNER git;"
sudo
-u
postgres /usr/bin/pg_ctl
-s
-D
/srv/pgsql/data stop
-m
fast
sudo
-u
postgres /usr/bin/pg_ctl
-s
-D
/srv/pgsql/data stop
-m
fast
database-config
:
define
DATABASE_CONFIG
production
:
adapter
:
postgresql
encoding
:
unicode
database
:
gitlabhq_production
endef
export
DATABASE_CONFIG
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