Browse Source

Minor changes to README

multi_domain
ßingen 8 years ago
parent
commit
6b85e054aa
1 changed files with 11 additions and 5 deletions
  1. +11
    -5
      README.md

+ 11
- 5
README.md View File

Configuration and deployment Configuration and deployment
---------------------------- ----------------------------


First download the repos:

git@github.com:bingen/rpi_docker_home_server.git
git submodule update --init --recursive

Set up your preferences:

./setup.sh ./setup.sh


(Optional, can be downloaded from registry, unless you changed them) Build aux images: (Optional, can be downloaded from registry, unless you changed them) Build aux images:
docker stack ls docker stack ls
docker stack ps your-stack-name docker stack ps your-stack-name


To see logs of a docker swarm/stack service:
https://github.com/docker/docker/issues/23710
To see logs of a docker swarm/stack service [reference](https://github.com/docker/docker/issues/23710):


docker logs $(docker inspect --format "{{.Status.ContainerStatus.ContainerID}}" `docker stack ps your-stack-name | grep your-service-name | cut -f1 -d' '`) docker logs $(docker inspect --format "{{.Status.ContainerStatus.ContainerID}}" `docker stack ps your-stack-name | grep your-service-name | cut -f1 -d' '`)


dn: uniqueIdentifier=your-user,ou=people,dc=your-domain,dc=com dn: uniqueIdentifier=your-user,ou=people,dc=your-domain,dc=com
changetype: modify changetype: modify
replace: userPassword replace: userPassword
userPassword: {SSHA}Rs60p+2QKxAFRnA6vtWV71SI6Jz57CDF
userPassword: {SSHA}Djpd2d+kbQm4ftHupSaS65wl8l8EbDot


And the run: And the run:




You generate the password with: You generate the password with:


slappaswwd -s your-password
slappasswd -s your-password


MariaDB MariaDB
------- -------
Nextcloud Nextcloud
--------- ---------


After first run, set DATA_CHOWN=0, explain why... (TODO)
After first run, set DATA_CHOWN=0. Otherwise every time you deploy the whole folder with all your data will be recursed to change ownership, and it can take long when it's only needed for the first time.


Need to log in as admin for the first time and enable Apps manually. Need to log in as admin for the first time and enable Apps manually.



Loading…
Cancel
Save