mirror of
https://github.com/hackerschoice/segfault.git
synced 2024-07-05 17:41:34 +00:00
Merge branch 'main' of github.com:hackerschoice/segfault
This commit is contained in:
commit
34bb0b7d23
@ -11,7 +11,7 @@ ssh root@segfault.net # the password is 'segfault'
|
|||||||
|
|
||||||
## Deploy a Server Centre:
|
## Deploy a Server Centre:
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/hackerschoice/segfault.git && \
|
git clone --depth 1 https://github.com/hackerschoice/segfault.git && \
|
||||||
cd segfault && \
|
cd segfault && \
|
||||||
docker build -t sf-guest guest && \
|
docker build -t sf-guest guest && \
|
||||||
SF_BASEDIR=$(pwd) SF_SSH_PORT=2222 docker-compose up
|
SF_BASEDIR=$(pwd) SF_SSH_PORT=2222 docker-compose up
|
||||||
@ -27,7 +27,7 @@ Take a look at ```provision/env.example``` for a sample ```.env``` file.
|
|||||||
|
|
||||||
# Provisioning
|
# Provisioning
|
||||||
|
|
||||||
Provisioning turns a bare minimum Linux into a Segfault Server Centre. The provisioning script installs docker, creates a dedicated user and sets up the ```.env``` file. We use this script to 'ready' a freshly created AWS instance like so:
|
Provisioning turns a bare minimum Linux into a Segfault Server Centre. The provisioning script installs docker, creates a dedicated user and sets up the ```.env``` file and thereafter executes the same steps as in "Deploy a Server Centre". If you already have docker running then you do not need this step. We use this script to turn a freshly created AWS instance into a Segfault Server Centre:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/hackerschoice/segfault.git
|
git clone https://github.com/hackerschoice/segfault.git
|
||||||
|
Loading…
Reference in New Issue
Block a user