Skip to content

Commit 788401e

Browse files
authored
Merge pull request #4 from markovianhq/fix/fernet
Fix/fernet
2 parents 95c2352 + 03ba606 commit 788401e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

script/entrypoint.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@ POSTGRES_HOST="postgres"
77
POSTGRES_PORT="5432"
88
RABBITMQ_HOST="rabbitmq"
99
RABBITMQ_CREDS="airflow:airflow"
10-
FERNET_KEY=$(python -c "from cryptography.fernet import Fernet; FERNET_KEY = Fernet.generate_key().decode(); print(FERNET_KEY)")
1110

1211
# Load DAGs exemples (default: Yes)
1312
if [ "x$LOAD_EX" = "xn" ]; then
1413
sed -i "s/load_examples = True/load_examples = False/" "$AIRFLOW_HOME"/airflow.cfg
1514
fi
1615

17-
# Generate Fernet key
18-
sed -i "s|\$FERNET_KEY|$FERNET_KEY|" "$AIRFLOW_HOME"/airflow.cfg
19-
2016
# wait for DB
2117
if [ "$1" = "webserver" ] || [ "$1" = "worker" ] || [ "$1" = "scheduler" ] ; then
2218
i=0

0 commit comments

Comments
 (0)