diff options
author | 2021-07-09 02:58:17 -0400 | |
---|---|---|
committer | 2021-07-09 02:58:17 -0400 | |
commit | 4e12368d7674b5c0da5ec07d25fc67e966586cc9 (patch) | |
tree | faca1331f89584f25a0a9328a81ed8fa7e7843a8 | |
parent | Update .dockerignore (diff) | |
download | ferdium-server-4e12368d7674b5c0da5ec07d25fc67e966586cc9.tar.gz ferdium-server-4e12368d7674b5c0da5ec07d25fc67e966586cc9.tar.zst ferdium-server-4e12368d7674b5c0da5ec07d25fc67e966586cc9.zip |
Comment out code to generate .env file
Remove code to check for `config.txt` and generate `/app/.env` file, but keep it in comments for now as documentation.
-rwxr-xr-x | docker/entrypoint.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index eac3fc8..cfc6b9c 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh | |||
@@ -15,11 +15,11 @@ https://opencollective.com/getferdi/ | |||
15 | EOL | 15 | EOL |
16 | 16 | ||
17 | # use config.txt or .env.example parameter values as default if they are not passed to container | 17 | # use config.txt or .env.example parameter values as default if they are not passed to container |
18 | if [ -f /config/config.txt ]; then | 18 | #if [ -f /config/config.txt ]; then |
19 | cp /config/config.txt /app/.env | 19 | # cp /config/config.txt /app/.env |
20 | else | 20 | #else |
21 | cp /app/.env.example /app/.env | 21 | # cp /app/.env.example /app/.env |
22 | fi | 22 | #fi |
23 | 23 | ||
24 | # Create APP key if needed | 24 | # Create APP key if needed |
25 | if [ ! -f "/config/FERDI_APP_KEY.txt" ]; | 25 | if [ ! -f "/config/FERDI_APP_KEY.txt" ]; |