mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
13 lines
259 B
Bash
Executable File
13 lines
259 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Substitute configuration
|
|
for VARIABLE in `env | cut -f1 -d=`; do
|
|
sed -i "s={{ $VARIABLE }}=${!VARIABLE}=g" /conf/*.toml
|
|
done
|
|
|
|
# Select the proper configuration
|
|
cp /conf/$TLS_FLAVOR.toml /conf/traefik.toml
|
|
|
|
exec traefik -c /conf/traefik.toml
|
|
|