Browse Source

chore: pull latest images always

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/7612/head
Pranav C 10 months ago
parent
commit
2c43b569d0
  1. 4
      docker-compose/setup-script/noco.sh

4
docker-compose/setup-script/noco.sh

@ -205,7 +205,6 @@ IMAGE="nocodb/nocodb:latest";
# Determine the Docker image to use based on the edition # Determine the Docker image to use based on the edition
if [ -n "$EDITION" ] && { [ "$EDITION" = "EE" ] || [ "$EDITION" = "ee" ]; }; then if [ -n "$EDITION" ] && { [ "$EDITION" = "EE" ] || [ "$EDITION" = "ee" ]; }; then
echo "Using the NocoDB Enterprise Edition image"
IMAGE="nocodb/nocodb-ee:latest" IMAGE="nocodb/nocodb-ee:latest"
DATABASE_URL="DATABASE_URL=postgres://postgres:${ENCODED_PASSWORD}@db:5432/nocodb" DATABASE_URL="DATABASE_URL=postgres://postgres:${ENCODED_PASSWORD}@db:5432/nocodb"
@ -439,6 +438,9 @@ EOF
message_arr+=("Update script: update.sh") message_arr+=("Update script: update.sh")
# Pull latest images
sudo docker-compose pull
# Start the docker-compose setup # Start the docker-compose setup
sudo docker-compose up -d sudo docker-compose up -d

Loading…
Cancel
Save