Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-compose with letsencrypt
```❯ 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 | > client@0.1.0 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```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment