Menambahkan beberapa perubahan

This commit is contained in:
2026-06-09 20:26:18 +07:00
parent 311e5579f4
commit 6495336f18
10 changed files with 156 additions and 14 deletions
+13
View File
@@ -0,0 +1,13 @@
<VirtualHost *:80>
DocumentRoot /var/www/html
DirectoryIndex index.html index.php
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
+9
View File
@@ -0,0 +1,9 @@
-- Inisialisasi database untuk deploy Docker / Coolify
CREATE DATABASE IF NOT EXISTS webgis_p3 CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE DATABASE IF NOT EXISTS webgis_spbu CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE DATABASE IF NOT EXISTS WEB_GIS CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL PRIVILEGES ON webgis_p3.* TO 'webgis'@'%';
GRANT ALL PRIVILEGES ON webgis_spbu.* TO 'webgis'@'%';
GRANT ALL PRIVILEGES ON WEB_GIS.* TO 'webgis'@'%';
FLUSH PRIVILEGES;