some deployments worked out
This commit is contained in:
12
deployment/remote_server_secure/docker_start-server.sh
Executable file
12
deployment/remote_server_secure/docker_start-server.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p nginx/certs
|
||||
echo "This part will ask you a bunch of questions for the self-signed cert. Answer them, I can't control it. For common name put the name or IP of the server which the clients can access it."
|
||||
openssl req -x509 -newkey rsa:4096 -keyout nginx/certs/nginx.key -out nginx/certs/nginx.crt -sha256 -days 3650 -nodes
|
||||
|
||||
gen_password=$(cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)
|
||||
|
||||
echo "DB_LOCATION=./tam3-db" > .env
|
||||
echo "DB_PASSWORD=${gen_password}" >> .env
|
||||
|
||||
docker compose up -d
|
||||
Reference in New Issue
Block a user