- Create a file
deploy-$(hostname).sh
with node-specific instructions - Link
deploy.sh
to~/deploy.sh
sudo ln -s $(pwd)/deploy.sh ~/deploy.sh
Just use the docker-compose.yaml
file provided by this repository.
To start all the components, run
docker compose --profile all pull # optional, updates components
docker compose --profile all up -d
To enable SSL, use nginx
as a reverse proxy.
- Link
sunangel-api.conf
to/etc/nginx/conf.d/sunangel-api.conf
sudo ln -s $(pwd)/sunangel-api.conf /etc/nginx/conf.d/sunangel-api.conf
- Reload the config with
sudo nginx -t
- Restart
nginx
withsudo systemctl restart nginx
Requires *certificate.cer
openssl x509 -inform pem -in cloudsftp.de_ssl_certificate.cer -out cert.pem
Requires *private_key.key
openssl rsa -in cloudsftp.de_private_key.key -text -out key.pem
Maybe just renaming is enough
cp cloudsftp.de_private_key.key key.pem
Use scp
to copy cerificates to the server.
scp cert.pem user@host:~
scp key.pem user@host:~