Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libre.sh
compose.libre.sh
Commits
085bcf38
Commit
085bcf38
authored
10 years ago
by
Michiel de Jong
Browse files
Options
Downloads
Patches
Plain Diff
a few small bugfixes
parent
d212a68b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+7
-6
7 additions, 6 deletions
README.md
doc/running-on-ubuntu.md
+1
-1
1 addition, 1 deletion
doc/running-on-ubuntu.md
scripts/setup.sh
+1
-1
1 addition, 1 deletion
scripts/setup.sh
with
9 additions
and
8 deletions
README.md
+
7
−
6
View file @
085bcf38
...
...
@@ -20,17 +20,18 @@ work).
vagrant up
```
Wait for the provisioning to finish (~
12
mins), and go to your browser: https://indiehosters.dev
Wait for the provisioning to finish (~
40
mins), and go to your browser: https://indiehosters.dev
If the process fails, for instance due to network problems, you can retry by running
`vagrant provision`
.
###
If you want to add another static instance apart from indiehosters.dev
:
###
Set up a domain
:
```
bash
vagrant ssh
vagrant ssh
core-1
sudo mkdir
-p
/data/import/example.dev/TLS
sudo cp
/data/indiehosters/scripts/unsecure-certs/example.dev.pem /data/import/example.dev/TLS
sudo
systemctl start static@example.dev
sudo
systemctl restart haproxy-confd
```
Check https://example.dev in your bowser!
...
...
@@ -49,8 +50,8 @@ vagrant up
```
bash
vagrant destroy
vagrant up
# Check in your browser https://
indiehosters
.dev
vagrant ssh
# Check in your browser https://
example
.dev
vagrant ssh
core-1
sudo
su
/data/indiehosters/
scripts/
tests/main.sh
/data/indiehosters/tests/main.sh
```
This diff is collapsed.
Click to expand it.
doc/running-on-ubuntu.md
+
1
−
1
View file @
085bcf38
...
...
@@ -5,7 +5,7 @@ apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade
dpkg-reconfigure
-plow
unattended-upgrades
# set unattended upgrades to 'Yes'
apt-get
-y
install
systemd-sysv git docker.io
printf
"
#!/bin/sh
\n
docker run --net=host quay.io/coreos/etcd:v0.4.6 /etcdctl
$1
$2
$3
$4
"
>
>
/usr/local/etcdctl
printf
'
#!/bin/sh\ndocker run --net=host quay.io/coreos/etcd:v0.4.6 /etcdctl $1 $2 $3 $4
'
>
/usr/local/
bin/
etcdctl
printf
"[Unit]
\n
Requires=docker.service
\n
After=docker.service
\n
[Service]
\n
Restart=always
\n\
ExecStartPre=-/usr/bin/docker kill etcd
\n\
ExecStartPre=-/usr/bin/docker rm etcd
\n\
...
...
This diff is collapsed.
Click to expand it.
scripts/setup.sh
+
1
−
1
View file @
085bcf38
...
...
@@ -21,7 +21,7 @@ docker pull indiehosters/mysql
docker pull indiehosters/wordpress
# Install unit-files
cp
/data/indiehosters/unit-files/
*
/etc/systemd/system
&&
systemctl daemon-reload
sudo
cp
/data/indiehosters/unit-files/
*
/etc/systemd/system
&&
systemctl daemon-reload
# Create Directory structure
mkdir
-p
/data/domains
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment