Ateliers Docker
Pad
All
- add
include /etc/nginx/sites-enabled/*
to /etc/nginx/nginx.conf in http section
mkdir /etc/nginx/sites-enabled/ /srv/letsencrypt
Etherpad
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
Nextcloud
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
gitlab
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
After
systemctl restart nginx