traefik/init

15 lines
284 B
Bash
Executable File

#!/bin/bash
source ./.env
mkdir tls-data
docker network create $TRAEFIK_NETWORK
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./tls-data/selfsigned.key -out ./tls-data/selfsigned.crt
docker compose up -d
docker compose -f docker-compose-whoami.yml up -d