mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-09 19:12:59 +00:00
Fix minor PyCharm issues
This commit is contained in:
@@ -43,7 +43,7 @@ For example, you can build and deploy a `jupyter/all-spark-notebook` by modifyin
|
||||
|
||||
```dockerfile
|
||||
FROM jupyter/all-spark-notebook:b418b67c225b
|
||||
...
|
||||
# Your RUN commands and so on
|
||||
```
|
||||
|
||||
Once you modify the Dockerfile, don't forget to rebuild the image.
|
||||
@@ -135,8 +135,8 @@ FQDN=host.mydomain.com EMAIL=myemail@somewhere.com \
|
||||
bin/letsencrypt.sh
|
||||
```
|
||||
|
||||
Also, be aware that Let's Encrypt certificates are short lived (90 days).
|
||||
If you need them for a longer period of time, you'll need to manually setup a cron job to run the renewal steps.
|
||||
Also, be aware that Let's Encrypt certificates are short-lived (90 days).
|
||||
If you need them for a longer period of time, you'll need to manually set up a cron job to run the renewal steps.
|
||||
(You can reuse the command above.)
|
||||
|
||||
### Can I deploy to any Docker Machine host?
|
||||
|
@@ -9,11 +9,11 @@ set -e
|
||||
|
||||
# Get domain and email from environment
|
||||
[ -z "${FQDN}" ] && \
|
||||
echo "ERROR: Must set FQDN environment varable" && \
|
||||
echo "ERROR: Must set FQDN environment variable" && \
|
||||
exit 1
|
||||
|
||||
[ -z "${EMAIL}" ] && \
|
||||
echo "ERROR: Must set EMAIL environment varable" && \
|
||||
echo "ERROR: Must set EMAIL environment variable" && \
|
||||
exit 1
|
||||
|
||||
# letsencrypt certificate server type (default is production).
|
||||
|
@@ -15,7 +15,7 @@ MACHINE_NAME="${1}" && [ -z "${MACHINE_NAME}" ] && echo "${USAGE}" && exit ${E_B
|
||||
|
||||
# Use SOFTLAYER_DOMAIN env var if domain name not set as second arg
|
||||
DOMAIN="${2:-$SOFTLAYER_DOMAIN}" && [ -z "${DOMAIN}" ] && \
|
||||
echo "Must specify domain or set SOFTLAYER_DOMAIN environment varable" && \
|
||||
echo "Must specify domain or set SOFTLAYER_DOMAIN environment variable" && \
|
||||
echo "${USAGE}" && exit ${E_BADARGS}
|
||||
|
||||
IP=$(docker-machine ip "${MACHINE_NAME}")
|
||||
|
Reference in New Issue
Block a user