mirror of
https://gh.wpcy.net/https://github.com/aspirepress/infrastructure.git
synced 2026-07-16 11:36:40 +08:00
* refactor: move traefik management port to docker-compose.override.yml * feat: convert traefik to file based config, use static cert
11 lines
282 B
Bash
Executable file
11 lines
282 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
docker network create traefik >/dev/null 2>&1 || true
|
|
|
|
mkdir -p certs
|
|
[[ -f certs/aspiredev.crt ]] || cp -v certs.available/aspiredev.crt certs
|
|
[[ -f certs/aspiredev.key ]] || cp -v certs.available/aspiredev.key certs
|
|
|
|
exec docker compose up -d "$@"
|