Added Nextcloud/Collabora

This commit is contained in:
2026-05-07 22:05:02 +02:00
rodzic bd8a0a2df9
commit f60acd6443
22 zmienionych plików z 280 dodań i 27 usunięć
+12
Wyświetl plik
@@ -0,0 +1,12 @@
# Create DB
Create User
$ podman exec -it postgres psql -U postgres -c "CREATE USER [nome_progetto] WITH password '[password_db_progetto]';"
Or with CREATEDB
$ podman exec -it postgres psql -U postgres -c "CREATE USER [nome_progetto] WITH password '[password_db_progetto]' CREATEDB;"
Create DB
$ podman exec -it postgres psql -U postgres -c "CREATE DATABASE [nome_progetto];"
$ podman exec -it postgres psql -U postgres -c "GRANT ALL privileges ON DATABASE [nome_progetto] TO [nome_progetto];"
$ podman exec -it postgres psql -U postgres -d [nome_progetto] -c "GRANT CREATE ON SCHEMA public TO [nome_progetto];"