1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-26 14:46:24 -07:00

Build gochan on first run in startup script

This commit is contained in:
Eggbertx 2023-04-23 21:56:49 -07:00
parent 608ff24d9a
commit 20ab2397f1
2 changed files with 24 additions and 17 deletions

View file

@ -2,8 +2,7 @@
set -euo pipefail
apk --no-cache add \
postgresql-client \
apk add \
mariadb-client \
nginx \
ffmpeg \
@ -12,7 +11,7 @@ apk --no-cache add \
gcc \
musl-dev \
openssl \
bash
exiftool
mkdir -p /root/bin
@ -34,4 +33,4 @@ mkdir -p /etc/ssl/private
openssl req -x509 -nodes -days 7305 -newkey rsa:2048 \
-keyout /etc/ssl/private/nginx-selfsigned.key \
-out /etc/ssl/certs/nginx-selfsigned.crt \
-subj "/CN=192.168.56.3"
-subj "/CN=127.0.0.1"