Skip to content

Instantly share code, notes, and snippets.

@arschles
Created September 23, 2020 00:50
Show Gist options
  • Select an option

  • Save arschles/3cc005e36d2e0aeec76f91d22c4b9d26 to your computer and use it in GitHub Desktop.

Select an option

Save arschles/3cc005e36d2e0aeec76f91d22c4b9d26 to your computer and use it in GitHub Desktop.

Revisions

  1. arschles created this gist Sep 23, 2020.
    47 changes: 47 additions & 0 deletions melkey-docker-compose.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    ```❯ docker-compose -f docker-compose-prod.yml -p melkey up
    Creating network "melkey_default" with the default driver
    Creating melkey_client_1 ... done
    Creating melkey_server_1 ... done
    Creating melkey_certbot_1 ... done
    Creating melkey_nginx_1 ... done
    Attaching to melkey_server_1, melkey_certbot_1, melkey_client_1, melkey_nginx_1
    nginx_1 | 2020/09/23 00:50:04 [emerg] 1#1: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    client_1 |
    client_1 | > [email protected] start /app
    client_1 | > react-scripts start
    client_1 |
    server_1 | [2020-09-23 00:50:05 +0000] [1] [INFO] Starting gunicorn 20.0.4
    server_1 | [2020-09-23 00:50:05 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
    server_1 | [2020-09-23 00:50:05 +0000] [1] [INFO] Using worker: sync
    server_1 | [2020-09-23 00:50:05 +0000] [8] [INFO] Booting worker with pid: 8
    certbot_1 | Saving debug log to /var/log/letsencrypt/letsencrypt.log
    certbot_1 |
    certbot_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    certbot_1 |
    certbot_1 | No renewals were attempted.
    certbot_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    melkey_nginx_1 exited with code 1
    nginx_1 | 2020/09/23 00:50:05 [emerg] 1#1: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    melkey_nginx_1 exited with code 1
    client_1 | :information_source: 「wds」: Project is running at http://172.28.0.5/
    client_1 | :information_source: 「wds」: webpack output is served from
    client_1 | :information_source: 「wds」: Content not from webpack is served from /app/public
    client_1 | :information_source: 「wds」: 404s will fallback to /
    client_1 | Starting the development server...
    client_1 |
    melkey_client_1 exited with code 0
    melkey_nginx_1 exited with code 1
    nginx_1 | 2020/09/23 00:50:04 [emerg] 1#1: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | 2020/09/23 00:50:05 [emerg] 1#1: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | 2020/09/23 00:50:05 [emerg] 1#1: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | 2020/09/23 00:50:06 [emerg] 1#1: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | 2020/09/23 00:50:07 [emerg] 1#1: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    nginx_1 | nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/app.conf:8
    melkey_nginx_1 exited with code 1
    melkey_nginx_1 exited with code 1```