Browse Source

update instructions for etherpad & nextcloud

Guilhem Saurel 7 years ago
parent
commit
d0b25cd8bb
1 changed files with 7 additions and 2 deletions
  1. 7 2
      README.md

+ 7 - 2
README.md

@@ -12,10 +12,10 @@
 ```
 cd etherpad
 export MYSQL_ROOT_PASSWORD=$(openssl rand -base64 32)
-ln -s nginx.conf /etc/nginx/sites-enabled/etherpad
+ln -s $PWD/nginx.conf /etc/nginx/sites-enabled/etherpad
 systemctl restart nginx
 certbot certonly --email <me souviens plus> --webroot -w /srv/letsencrypt/ --agree-tos -d www.pad.oxyta.net -d pad.oxyta.net
-docker-compose up
+docker-compose up -d
 ```
 
 
@@ -25,3 +25,8 @@ docker-compose up
 cd nextcloud
 export MYSQL_ROOT_PASSWORD=$(openssl rand -base64 32)
 export MYSQL_PASSWORD=$(openssl rand -base64 32)
+ln -s $PWD/nginx.conf /etc/nginx/sites-enabled/nextcloud
+systemctl restart nginx
+certbot certonly --email <me souviens plus> --webroot -w /srv/letsencrypt/ --agree-tos -d www.cloud.oxyta.net -d cloud.oxyta.net
+docker-compose up -d
+```