setting up ssl
This commit is contained in:
@@ -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
10
post-receive
Executable 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
|
||||||
Reference in New Issue
Block a user