IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

Final fixes for new gateway.

master
parent
commit
8be1fcaf60
3 changed files with 4 additions and 1 deletions
  1. +1
    -0
      example/gateway/certbot/Fockerfile
  2. +1
    -0
      example/gateway/nginx-http/Fockerfile
  3. +2
    -1
      example/gateway/nginx-https/Fockerfile

+ 1
- 0
example/gateway/certbot/Fockerfile View File

@@ -3,6 +3,7 @@ base: freebsd-latest
steps: steps:
- run: - run:
- ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install py37-certbot python3 - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install py37-certbot python3
- mkdir -p /cookiecutter
- mkdir -p /certbot/data - mkdir -p /certbot/data
- mkdir -p /certbot/webroot - mkdir -p /certbot/webroot
- mkdir -p /certbot/scripts - mkdir -p /certbot/scripts


+ 1
- 0
example/gateway/nginx-http/Fockerfile View File

@@ -4,6 +4,7 @@ steps:
- run: - run:
- ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install nginx - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install nginx
- mkdir -p /certbot/webroot - mkdir -p /certbot/webroot
- mkdir -p /cookiecutter
- sysrc nginx_enable=YES - sysrc nginx_enable=YES
- sysrc sshd_enable=NO - sysrc sshd_enable=NO
- sysrc sendmail_enable=NONE - sysrc sendmail_enable=NONE


+ 2
- 1
example/gateway/nginx-https/Fockerfile View File

@@ -6,9 +6,10 @@ steps:
/root/crontab_root ] /root/crontab_root ]
- run: - run:
- ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install nginx - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install nginx
- mkdir -p /usr/local/etc/letsencrypt - mkdir -p /usr/local/etc/letsencrypt
- mkdir -p /certbot/webroot - mkdir -p /certbot/webroot
- mkdir -p /cookiecutter
- crontab -u root /root/crontab_root - crontab -u root /root/crontab_root
- rm -vf /root/crontab_root - rm -vf /root/crontab_root


Loading…
Cancel
Save