diff --git a/.kamal/hooks/post-deploy.sample b/.kamal/hooks/post-deploy similarity index 63% rename from .kamal/hooks/post-deploy.sample rename to .kamal/hooks/post-deploy index f0d8179..b99f40e 100755 --- a/.kamal/hooks/post-deploy.sample +++ b/.kamal/hooks/post-deploy @@ -11,4 +11,6 @@ # KAMAL_DESTINATION (if set) # KAMAL_RUNTIME -echo ">>>>>>>>>>>>>>>> $KAMAL_PERFORMER deployed $KAMAL_VERSION to $KAMAL_DESTINATION in $KAMAL_RUNTIME seconds" +echo "$KAMAL_PERFORMER deployed $KAMAL_VERSION to $KAMAL_DESTINATION in $KAMAL_RUNTIME seconds" +ufw allow 80/tcp +ufw allow 443/tcp \ No newline at end of file diff --git a/config/deploy.yml b/config/deploy.yml index b09252a..ac76285 100644 --- a/config/deploy.yml +++ b/config/deploy.yml @@ -114,6 +114,9 @@ accessories: - PGADMIN_DEFAULT_EMAIL - PGADMIN_DEFAULT_PASSWORD proxy: + ssl: true + forward_headers: true + app_port: 5050 host: pgadmin.futureporn.net healthcheck: path: /login \ No newline at end of file