Fix app script
This commit is contained in:
parent
33c0f318b4
commit
449630bf5f
2 changed files with 4 additions and 2 deletions
|
@ -5,6 +5,8 @@ services:
|
|||
container_name: invidious
|
||||
image: quay.io/invidious/invidious:latest-arm64
|
||||
restart: unless-stopped
|
||||
dns:
|
||||
- ${DNS_IP}
|
||||
ports:
|
||||
- "${APP_PORT}:3000"
|
||||
environment:
|
||||
|
|
|
@ -143,7 +143,8 @@ fi
|
|||
if [[ "$command" = "uninstall" ]]; then
|
||||
echo "Removing images for app ${app}..."
|
||||
|
||||
# compose "${app}" down --remove-orphans
|
||||
compose "${app}" up --detach
|
||||
compose "${app}" down --rmi all --remove-orphans
|
||||
|
||||
echo "Deleting app data for app ${app}..."
|
||||
if [[ -d "${app_data_dir}" ]]; then
|
||||
|
@ -158,7 +159,6 @@ fi
|
|||
if [[ "$command" = "stop" ]]; then
|
||||
|
||||
echo "Stopping app ${app}..."
|
||||
compose "${app}" down --remove-orphans --rmi all
|
||||
compose "${app}" rm --force --stop
|
||||
|
||||
exit
|
||||
|
|
Loading…
Add table
Reference in a new issue