Fork de https://framagit.org/oxyta.net/oxytanet pour ajouter les choses propres à tetaneutral.net

Guilhem Saurel 0f08bdfc79 tests with gitlab il y a 7 ans
etherpad 8b658d95a0 etherpad/nginx il y a 7 ans
frontal 4984f9c0f8 frontal: first shot at a nginx image serving the front il y a 7 ans
gitlab 0f08bdfc79 tests with gitlab il y a 7 ans
nextcloud c12ab359a3 gitlab il y a 7 ans
README.md 0f08bdfc79 tests with gitlab il y a 7 ans

README.md

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