mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-01-25 09:34:23 +00:00
volume-backup
This commit is contained in:
@@ -18,6 +18,9 @@ if [[ "--install" == $INSTALLED ]]; then
|
||||
|
||||
source /etc/serverconfig/.env
|
||||
|
||||
export AWS_ACCESS_KEY=$(aws configure get aws_access_key_id)
|
||||
export AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)
|
||||
|
||||
if [[ -f "$ETC_DIR/docker-compose.yml" ]]; then
|
||||
docker compose -f "$ETC_DIR/docker-compose.yml" up -d && \
|
||||
info_print "$ETC_DIR/docker-compose.yml is running." 6;
|
||||
|
||||
Reference in New Issue
Block a user