setting up ssl

This commit is contained in:
2025-11-16 13:11:39 +00:00
parent a923ec039a
commit 87fcc8a2c5
2 changed files with 13 additions and 5 deletions

View File

@@ -23,6 +23,4 @@ services:
volumes: volumes:
- ./certbot/conf:/etc/letsencrypt - ./certbot/conf:/etc/letsencrypt
- ./certbot/www:/var/www/certbot - ./certbot/www:/var/www/certbot
command: certonly --webroot -w /var/www/certbot --force-renewal --email adam.a.french@outlook.com -d adam-french.co.uk --agree-tos command: certonly --webroot -w /var/www/certbot --force-renewal --email adam.a.french@outlook.com -d adam-french.co.uk --agree-tos --staging

10
post-receive Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Go to deployment directory
# Pull latest changes from remote repository
# Start docker applications
docker compose up -d helloworld
docker compose up -d nginx
docker compose up -d certbot