Skip to content

Commit

Permalink
better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixboehm committed Jun 3, 2020
1 parent 6be95eb commit 2ef0387
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion examples/eos-compose/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
# EOS for oCIS

Set your domain or IP in .env and start compose file
# Setup

Setup on hcloud cx21 and install some dependencies (imho needs cx21 to have enough ram for building ocis)

First check for correct hcloud project: `hcloud context list'

```
# set your name here for labels and ssh-key setup
ME=$(whoami)
SERVER_NAME=eos-ocis-test
# create server
hcloud server create --type cx21 --image ubuntu-20.04 --ssh-key $ME --name $SERVER_NAME --label owner=$ME --label for=test --label from=eos-compose
IPADDR=$(hcloud server ip $SERVER_NAME)
ssh -t root@$IPADDR apt-get update -y
ssh -t root@$IPADDR apt-get install -y git screen docker.io docker-compose
ssh -t root@$IPADDR git clone https://github.com/owncloud-docker/compose-playground.git
ssh -t root@$IPADDR "cd compose-playground/examples/eos-compose && ./build"
```

Anytime:
- Check IP `hcloud server ip $SERVER_NAME`
- Access `ssh root@IPADDR`

# Run

1. Access the hcloud machine or run localy ...
2. Set your domain or IP in .env
3. Start via docker compose

```
echo "OCIS_DOMAIN=localhost" > .env
Expand Down

0 comments on commit 2ef0387

Please sign in to comment.