diff --git a/lib/calcom.sh b/lib/calcom.sh index 3016705..f41de18 100644 --- a/lib/calcom.sh +++ b/lib/calcom.sh @@ -703,25 +703,25 @@ EOF docker exec postgresql psql -U postgres -c "GRANT ALL PRIVILEGES ON DATABASE calcomsaml TO calcom" &> /dev/null # Insert admin user - docker exec postgresql psql -U postgres -d calcom -c " - INSERT INTO \"User\" (username, \"fullName\", email, \"hashedPassword\", role) - VALUES ('admin', 'Administrator', 'admin@$DOMAIN', crypt('$ADMINPASS', gen_salt('bf')), 'ADMIN') - ON CONFLICT DO NOTHING;" + # docker exec postgresql psql -U postgres -d calcom -c " + #INSERT INTO \"User\" (username, \"fullName\", email, \"hashedPassword\", role) + #VALUES ('admin', 'Administrator', 'admin@$DOMAIN', crypt('$ADMINPASS', gen_salt('bf')), 'ADMIN') + #ON CONFLICT DO NOTHING;" # Accept AGPLv3 license - docker exec postgresql psql -U postgres -d calcom -c " - INSERT INTO \"License\" (type, accepted) - VALUES ('AGPLv3', true) - ON CONFLICT DO NOTHING;" + # docker exec postgresql psql -U postgres -d calcom -c " + #INSERT INTO \"License\" (type, accepted) + #VALUES ('AGPLv3', true) + #ON CONFLICT DO NOTHING;" # Enable default apps - DEFAULT_APPS=("CalDav" "Scheduling" "Availability") # Add more apps as needed - for app in "${DEFAULT_APPS[@]}"; do - docker exec postgresql psql -U postgres -d calcom -c " - INSERT INTO \"App\" (name, enabled) - VALUES ('$app', true) - ON CONFLICT DO NOTHING;" - done + # DEFAULT_APPS=("CalDav" "Scheduling" "Availability") # Add more apps as needed + # for app in "${DEFAULT_APPS[@]}"; do + # docker exec postgresql psql -U postgres -d calcom -c " + # INSERT INTO \"App\" (name, enabled) + # VALUES ('$app', true) + # ON CONFLICT DO NOTHING;" + # done # Create cron task in /federated/bin