13 lines
No EOL
373 B
Bash
Executable file
13 lines
No EOL
373 B
Bash
Executable file
SRC="$PWD"
|
|
SRV="/srv/forgejo.campbell.kiwi"
|
|
|
|
TRAEFIK_CONFIG="/etc/traefik/conf/forego.yml"
|
|
|
|
echo "Deploying files in $SRC to $SRV"
|
|
sudo cp -r $SRC/* $SRV
|
|
|
|
echo "Deploying files in $SRC/traefik/traefik.yml to $TRAEFIK_CONFIG"
|
|
sudo cp $SRC/traefik/traefik.yml $TRAEFIK_CONFIG
|
|
|
|
echo "Running $SRV/compose.yml"
|
|
docker compose --file $SRV/compose.yml up -d --no-deps --build |