Fork de https://framagit.org/oxyta.net/oxytanet pour ajouter les choses propres à tetaneutral.net
|
il y a 7 ans | |
---|---|---|
etherpad | il y a 7 ans | |
frontal | il y a 7 ans | |
gitlab | il y a 7 ans | |
nextcloud | il y a 7 ans | |
README.md | il y a 7 ans |
include /etc/nginx/sites-enabled/*
to /etc/nginx/nginx.conf in http sectionmkdir /etc/nginx/sites-enabled/ /srv/letsencrypt
cd etherpad
export MYSQL_ROOT_PASSWORD=$(openssl rand -base64 32)
ln -s $PWD/nginx.conf /etc/nginx/sites-enabled/etherpad
certbot certonly --email <me souviens plus> --webroot -w /srv/letsencrypt/ --agree-tos -d www.pad.oxyta.net -d pad.oxyta.net
docker-compose up -d
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
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
cd gitlab
ln -s $PWD/nginx.conf /etc/nginx/sites-enabled/gitlab
certbot certonly --email <me souviens plus> --webroot -w /srv/letsencrypt/ --agree-tos -d www.git.oxyta.net -d git.oxyta.net
docker-compose up -d
systemctl restart nginx