]> jfr.im git - uguu.git/blame - docker/docker-entrypoint.sh
fix
[uguu.git] / docker / docker-entrypoint.sh
CommitLineData
0a6585a2 1#!/bin/bash
af4b9c42
GJ
2cd /var/www/uguu
3npm install
0a6585a2 4make
5make install
7f8963f6
GJ
6service nginx stop
7rm /etc/nginx/sites-enabled/default
af4b9c42 8/root/.acme.sh/acme.sh --set-default-ca --server letsencrypt
7f8963f6 9/root/.acme.sh/acme.sh --issue --standalone -d $DOMAIN -d $FILE_DOMAIN
af4b9c42
GJ
10service nginx start
11service php8.1-fpm start
12tail -f /var/log/nginx/access.log