diff --git a/docker-compose.yml b/docker-compose.yml index a83d9ca..e2dea00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,4 +5,4 @@ services: build: . container_name: recurring-console environment: - - CRON_Console:OutputString=NewTestString \ No newline at end of file + - CRON_Console__OutputString=NewTestString \ No newline at end of file diff --git a/export_env.sh b/export_env.sh index e508822..8eaa3fa 100644 --- a/export_env.sh +++ b/export_env.sh @@ -1,5 +1,5 @@ #!/bin/bash echo '#!/bin/bash' > /app/set_env.sh -printenv | sed '/^affinity:container/ d' | sed -r ':b; s/^([^=]*):/\1__/g; tb;' | sed -r 's/^([a-zA-Z_]+[a-zA-Z0-9_-]*)=(.*)$/export \1="\2"/g' >> /app/set_env.sh +printenv | sed '/^affinity:container/ d' | sed -r 's/^([a-zA-Z_]+[a-zA-Z0-9_-]*)=(.*)$/export \1="\2"/g' >> /app/set_env.sh chmod +x /app/set_env.sh \ No newline at end of file