add path to compose
This commit is contained in:
parent
75a5553a11
commit
bbf9b4c564
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Load the Docker image from the tar file
|
# Load the Docker image from the tar file
|
||||||
echo "Loading Docker image from $COMPOSE_FILE..."
|
echo "Loading Docker image from docker/myp-rp_latest.tar.xz..."
|
||||||
docker load -i "docker/myp-rp_latest.tar.xz"
|
docker load -i "docker/myp-rp_latest.tar.xz"
|
||||||
|
|
||||||
# Check if loading the image was successful
|
# Check if loading the image was successful
|
||||||
@ -12,7 +12,7 @@ fi
|
|||||||
|
|
||||||
# Execute docker compose
|
# Execute docker compose
|
||||||
echo "Running docker compose..."
|
echo "Running docker compose..."
|
||||||
docker compose -f "$COMPOSE_FILE" up -d
|
docker compose -f "docker/compose.yml" up -d
|
||||||
|
|
||||||
# Check if the operation was successful
|
# Check if the operation was successful
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user