Fix app script

This commit is contained in:
Nicolas Meienberger 2022-05-23 19:56:18 +00:00
parent 33c0f318b4
commit 449630bf5f
2 changed files with 4 additions and 2 deletions

View file

@ -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:

View file

@ -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