16 lines
223 B
Bash
Executable File
16 lines
223 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
mkdir -p ./traefik
|
|
touch traefik/acme.json
|
|
chmod 600 traefik/acme.json
|
|
|
|
if [ ! -f .logins ]; then
|
|
cp .logins.example .logins
|
|
fi
|
|
|
|
if [ ! -f .env ]; then
|
|
cp .env.example .env
|
|
fi
|