Skip to content

Instantly share code, notes, and snippets.

@Fazendaaa
Last active March 15, 2021 17:56
Show Gist options
  • Save Fazendaaa/289b72a80e2087577ee0fecee06e4417 to your computer and use it in GitHub Desktop.
Save Fazendaaa/289b72a80e2087577ee0fecee06e4417 to your computer and use it in GitHub Desktop.

Revisions

  1. Fazendaaa renamed this gist Mar 15, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt → configureMkcert.sh
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,4 @@ sudo rm -r a41a3d4bc4e693ac6f5fadc26817c520 d518f09567f50cda3018f00211bce5a1

    docker network create proxy
    mkcert -install
    mkcert -cert-file ~/.certs/local-cert.pem -key-file ~/.certs/local-key.pem "docker.localhost" "*.docker.localhost" "domain.local" "*.domain.local"
    sudo mkcert -cert-file ~/.certs/local-cert.pem -key-file ~/.certs/local-key.pem "docker.localhost" "*.docker.localhost" "domain.local" "*.domain.local"
  2. Fazendaaa created this gist Mar 12, 2021.
    13 changes: 13 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/bin/sh
    mkdir ~/.certs
    mkdir ~/.traefik

    git clone https://gist.github.com/Fazendaaa/a41a3d4bc4e693ac6f5fadc26817c520
    git clone https://gist.github.com/Fazendaaa/d518f09567f50cda3018f00211bce5a1
    cp a41a3d4bc4e693ac6f5fadc26817c520/* ~/.traefik
    cp d518f09567f50cda3018f00211bce5a1/* ~/.traefik
    sudo rm -r a41a3d4bc4e693ac6f5fadc26817c520 d518f09567f50cda3018f00211bce5a1

    docker network create proxy
    mkcert -install
    mkcert -cert-file ~/.certs/local-cert.pem -key-file ~/.certs/local-key.pem "docker.localhost" "*.docker.localhost" "domain.local" "*.domain.local"