Test minimal eole-db configuration
This commit is contained in:
parent
a30440d4ba
commit
304f0a4066
@ -12,7 +12,6 @@
|
||||
<service method="apache" servicelist="syspass">syspass</service>
|
||||
<!-- fichiers de conf apache -->
|
||||
<file filelist='syspass_files' name='/etc/apache2/sites-available/syspass' source='syspass-apache.conf' />
|
||||
<file filelist='syspass_files' name='/var/www/html/syspass/app/config/config.xml' source='syspass-config.xml' rm='True'/>
|
||||
</container>
|
||||
</containers>
|
||||
<variables>
|
||||
|
@ -1,6 +1,6 @@
|
||||
%set %%allowed_networks = ' '.join(['/'.join([%%str(ip), ip.syspass_allowed_netmask]) for ip in %%getVar('syspass_allowed_ip', [])])
|
||||
Alias /syspass /var/www/html/syspass
|
||||
<Directory "/var/www/html/syspass">
|
||||
Alias /syspass /srv/syspass
|
||||
<Directory "/srv/syspass">
|
||||
DirectoryIndex index.php
|
||||
Order Deny,Allow
|
||||
Deny from All
|
||||
|
@ -371,16 +371,6 @@ CREATE TABLE `Config` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `Config`
|
||||
--
|
||||
|
||||
LOCK TABLES `Config` WRITE;
|
||||
/*!40000 ALTER TABLE `Config` DISABLE KEYS */;
|
||||
INSERT INTO `Config` VALUES ('config_backup','789c95585b6fdb3618ed6f31f6d8a5a464dd1ce421cda52d9666419c165b3120a0284a224c8b1a4925f682fef791929c387248a92ff205e7901fbfdbf9a83f171e58cc9637ff9cf12aa745ff718e149a2d127ff12417beb798bd7b0bf0aea90b8132f207d9ce8eaf8f3532b22133be6a1ee98a5e542865249b1dd30530047f8cf04db099066a13679336d0f88f48927dce7c942389f825c20d92729f908c11aed19ac81ae15776c53616cb507d4e72d430f549f0a636de829a310713183782e794911dc77e985af0cd76723c5af4928887d7ae824efc0d17ca2c1d83188ca3876118597b1003ab37eb2665b45ac9af68f39d9247690cf29db9b4c7b8a3ebd69521009328437f5abd8f30e64da5cecca38d95e7747f0fbfd27b8c47169704afbed51952449f369d82aeb8a2780f6d2d79dc7efd8c6439eb3312a628f7a3046539823e4e62fd2385fe7c1ee40027fa09334c62944083f7ac51cad2cf5c2a83d1c5c43846acec7ffbd6accfd225c72ba2bae6e35adbd49f590beab5e45657a2946a5d8f59b44b31182e6669f1d1bbaaffba78faedb6f9c1c32f63dc5d321baeacef832cf0b230ce02e2857874dfbe6c7c1f84066a6f7a246d0a13b3915e4ad67c9898d6ed4df390a78cf147925d6cd4b41adb277da5eb696d6e9fb4a4ff752d0b787367b6b6a4bdc3b873bb603c456c4990c0e533dada5768251562edc27d19381bee4e67a05e909f14bc79788f4f72e196909648ab6c971f9e26e3ea4410ada3e2fd2f2fb34bd140a7192f71b422346694c53f38918806b8a4fae353d9047f23f32d5c21529409a2558128a811897999b63b05ae9d6ede6acfd674338ce708758ef4ac0a69c0a7997cce4ba7c7efb635190fa341f6baf962adb5a119f48bae419dade69fc5870f30f18e60181f0547d1c80abc181cd7619bc63e90ca9415d2b63dfd7489ca1a5176daa8924c1569431816bad5a1067c29f87adf4b4ef05071dde0be8779819109ab3f0cf496fcdb10a9a66ba7212d096e0455db4931ee08c3d9c569ff30db43f70930ad6917d689e6ecb260423d6978a5740e54667c4c477c63a4ed918b6c8958ab9ea15e3e84c8cf21f6c3204f4090c61003986b71c1208a2210e5c48bb464cff32c08fc34f03d04731c7a499e85b9e73ebc20528f9cf2549e21b157c456bc2452525e99a98a379dc60177964aaac815aa8ab6c92d66b9b8bfbc754f87867157925ef0b557d77a0e1214b1df53d61077b3eba69bef44182b5bbe0ea20fc1114c40e40100dd8145753dc6b56bb97ea45a51c616b0a6c95bd72baba5067c49999ad8d2bb4b4f419ad7b731ab1f0dbe53dd016364aed45fbb061f84410441109bf9676e25eda6ee2f6b6ddbe4ab4c8af0aaa9efcb7e861d3d3cd9d4ba991de0ad25582a55cba122585da5c7d14301b137cc0e7eab273a757062ab451de9b0035a1ddb11763d3c8073e7edb3bf9c187db8e36d2cc683d0c57b897a8bb47b50b6a695bbdd900a8b6dad965d177976d6d825ebb261ac1d084eb1bee3c8f1191869d1d5d31dc5c3b058abf799a1f59a5ff18256c30418a79e73d3e927bded90920f5f1000e78b8817c2defb01e02caede79179b9a8a8354b36ef48ab5bb3d43e08731006e6d68073c76300558f1bad9328a91d299d0be24ba3efef93f6cb41c2c'),('config_backup_date','1565710668'),('lastupdatempass','1565709968'),('masterPwd','$2y$10$Rmw6ev7gLeN1mNMgzijwG.AaELVryBfh2ed3DCSDZetGZdQ6n3lGa'),('version','310.19072001');
|
||||
/*!40000 ALTER TABLE `Config` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `CustomFieldData`
|
||||
--
|
||||
@ -490,16 +480,6 @@ CREATE TABLE `EventLog` (
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `EventLog`
|
||||
--
|
||||
|
||||
LOCK TABLES `EventLog` WRITE;
|
||||
/*!40000 ALTER TABLE `EventLog` DISABLE KEYS */;
|
||||
INSERT INTO `EventLog` VALUES (1,1565710075,'admin',1,'192.168.122.1','save.config.general','','INFO'),(2,1565710538,'admin',1,'192.168.122.1','save.config.ldap','','INFO'),(3,1565710586,'admin',1,'192.168.122.1','save.config.ldap','','INFO'),(4,1565710668,'admin',1,'192.168.122.1','save.config.ldap','','INFO'),(5,1565710791,'admin',1,'192.168.122.1','show.authToken.create',NULL,'INFO');
|
||||
/*!40000 ALTER TABLE `EventLog` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `ItemPreset`
|
||||
--
|
||||
@ -768,7 +748,7 @@ CREATE TABLE `User` (
|
||||
|
||||
LOCK TABLES `User` WRITE;
|
||||
/*!40000 ALTER TABLE `User` DISABLE KEYS */;
|
||||
INSERT INTO `User` VALUES (1,'sysPass Admin',1,'admin',NULL,_binary '$2y$10$U/9taXi98cQJ3NWsJLvbi.9QlENO471.kl89wBGog2fbW7nbeURlq',_binary 'def50200358152864353d3ccd1cb1ba6a9ead3b573908ebd059b5384b94cd7c9446bc513a169c92878211d59010930a79736ba92c5913d54a33aab77b0f35efcb6f0e826643337a2b3402a7f584ea4b6d9c19f141b5e82b46989bec6977662d7',_binary 'def10000def502005a92dafd2fb8665c497948c5f47ea6cc69b1f1eb002c385d8f037ef1dcc9bfc221812e8ca93552ba3999d1db4d9ebee5588fd79224dc8df815c6d0a19a8be1278b748c794d46230feff99e442b6d17008b4d84ae939b05d95beae2ba2b5de82c7bcaa4bef2dcd8787fdb6b88810f343db43da12878a704e18f11efe67ec28066d8f2e51ed99971682a567595933a917eb3436ad98d9d0fecac944351152a5b035cc5f95ab304911cb13a895c0406a372f0514437c8792f2d4cdab779fe02510b17bc44214802d620ebc9212ff746b20862523203b33073b1e2c1b0aca551f6d7954da61813493f50a388c0a1f0f37ed0e8f900db35b1cfe4',NULL,NULL,4,1,'2019-08-13 17:34:19',NULL,1565709969,1,0,0,0,'',0,0,0,NULL);
|
||||
INSERT INTO `User` VALUES (1,'sysPass Admin',1,'sp_admin',NULL,_binary '$2y$10$U/9taXi98cQJ3NWsJLvbi.9QlENO471.kl89wBGog2fbW7nbeURlq',_binary 'def50200358152864353d3ccd1cb1ba6a9ead3b573908ebd059b5384b94cd7c9446bc513a169c92878211d59010930a79736ba92c5913d54a33aab77b0f35efcb6f0e826643337a2b3402a7f584ea4b6d9c19f141b5e82b46989bec6977662d7',_binary 'def10000def502005a92dafd2fb8665c497948c5f47ea6cc69b1f1eb002c385d8f037ef1dcc9bfc221812e8ca93552ba3999d1db4d9ebee5588fd79224dc8df815c6d0a19a8be1278b748c794d46230feff99e442b6d17008b4d84ae939b05d95beae2ba2b5de82c7bcaa4bef2dcd8787fdb6b88810f343db43da12878a704e18f11efe67ec28066d8f2e51ed99971682a567595933a917eb3436ad98d9d0fecac944351152a5b035cc5f95ab304911cb13a895c0406a372f0514437c8792f2d4cdab779fe02510b17bc44214802d620ebc9212ff746b20862523203b33073b1e2c1b0aca551f6d7954da61813493f50a388c0a1f0f37ed0e8f900db35b1cfe4',NULL,NULL,4,1,'2019-08-13 17:34:19',NULL,1565709969,1,0,0,0,'',0,0,0,NULL);
|
||||
/*!40000 ALTER TABLE `User` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
@ -20,11 +20,8 @@ dbport: %%syspass_db_port
|
||||
dbroot: %%syspass_db_root
|
||||
dbrootpwd: %%syspass_db_root_passwd_path
|
||||
%end if
|
||||
createscript: "/usr/share/eole/db/syspass/gen/0_eole-syspass.sql"
|
||||
sqlscripts: ["/usr/share/eole/db/syspass/gen/dbstructure.sql"]
|
||||
updatescripts: []
|
||||
pwd_files:
|
||||
- {file: '%%container_path_web/var/www/html/syspass/app/config/config.xml',
|
||||
- {file: '%%container_path_web/srv/syspass/app/config/config.xml',
|
||||
type: 'xml',
|
||||
pattern: " <dbPass>",
|
||||
end_pattern: "</dbPass>",
|
||||
|
Loading…
Reference in New Issue
Block a user