Commit Graph

27 Commits (a9fbd035bfa66e91840a929fe44eeeb679dc76cc)

Author SHA1 Message Date
Luciano Righetti 025c1fcf0a fix: baseurl setting, db host healthcheck 2022-06-14 10:40:18 +02:00
ktb-jcm d26eaf5dab
Update run.sh to include fixing database name in config.php
If for any reason the name of the database for using misp isn't named "misp", connectivity will fail because database.php does not get updated with the correct name from .env

Ran into this when using a forked version of this project where the web container is run in Docker but MySQL database is running in prod database cluster and required a specific naming convention.

Other parameters in .env are also not updated or translated into database.php
2021-10-29 17:06:00 -04:00
Steven 7502ec9c87 Change supervisor command 2021-04-14 11:38:01 +02:00
Steven d2abf3d27b Add scheduled sync off feeds 2021-04-02 10:33:57 +02:00
Steven e781d3b728 Schedule full event sync instead of update 2021-03-24 16:33:45 +01:00
Steven 3c9736b8c7 Fix crontab installation 2021-03-23 21:37:47 +01:00
Steven f41a184e36 - Add crontab for pulling data of different servers 2021-03-22 11:07:44 +01:00
Steven e549511553 Remove GPG stuff from run.sh as installer does it 2021-03-10 09:11:54 +01:00
Steven 507b2fe628 Merge branch 'master' of https://github.com/MISP/misp-docker 2021-03-09 22:54:24 +01:00
Steven 6cc2cc3d2d - Clean up repository
- Don't run redis as daemon as it does not work in container
2021-03-09 22:45:11 +01:00
Steven ba64531a0b Set baseurl config 2021-03-09 14:48:01 +01:00
Alexandre Dulaunoy 36701a66f4
Merge pull request #100 from Body4/patch-1
Update run.sh
2021-03-07 23:01:59 +01:00
Coleman Kane 46b2cc37bd Fix bug in patching the MISP.baseurl from environment
The web/run.sh script was using a sed command that had two defects,
preventing the MISP_BASEURL environment from setting the MISP.baseurl
in config.php:
 - pattern used '/' as boundaries, making it incompatible with a baseurl
   containing that character
 - pattern assumed 1 space between 'baseurl' and '=>', but the
   config.php has multiple whitespace/tabs, so broadened the pattern to
   support any arbitrary length whitespace there

Signed-off-by: Coleman Kane <ckane@colemankane.org>
2021-03-06 13:10:36 -05:00
Body4 927d9ff043
Update run.sh 2020-12-04 22:22:00 +01:00
Steven Goossens 813137488c
Update run.sh
sed inline replace should end with /g
2020-11-04 15:34:58 +01:00
Steven Goossens 2b4719806f
Revert "Create the database" 2020-10-21 13:47:56 +02:00
Steven Goossens d7215e65e3
Update run.sh to work with all-in-one MISP 2020-07-08 11:35:53 +02:00
Steven Goossens f90a3c493c
Update run.sh
Do a git pull when it's not the first boot, to ensure we're working on the latest version
2020-07-05 23:14:41 +02:00
Steven Goossens 05cb030a26
Update so reboot pulls the newest code
Added a git pull in case it's not a first boot.
2020-06-01 22:05:32 +02:00
stevengoossensB 2c12d2165e
Add startup of sshd daemon 2020-02-10 21:58:22 +01:00
stevengoossensB 7f31c985e3
Typo fixed 2020-02-07 10:54:48 +01:00
stevengoossensB b4176674fd
Add check whether database exists
Check whether the MISP database exists, if not, create it.
2020-02-07 09:39:51 +01:00
stevengoossensB 94c43c62b8
Update run.sh
Initial connection can't be to specific database, since that doesn't exist yet
2020-02-06 12:49:50 +01:00
Mark Adams 1ac95ce5d6 Make misp.live on by default. This isn't ideal, as it means taking an instance
non-live will make it live again if the container restarts.  That seems
better than the default which is that MISP is non-live on container restart.
Ideally live/non-live would be persisted in the database but that's a change
in MISP.
2020-01-09 10:35:55 -08:00
Sherif Eldeeb 19e37da633
Fix broken web/run.sh
An unmatched double quote in `run.sh` causes (unexpected EOF while looking for matching `"')
removing the double quote fixes this
2019-05-03 12:54:44 +03:00
Philippe b59287e9f6
Update run.sh
Modification of the file database.php to be able to give the possibility to a MISP to connect to a database with another user.
Addition to download the GPG key on the MISP homepage.
2019-01-10 13:22:23 +01:00
Eric Daras 05689c3b0e DB part reworked to use std mysql database creation way, docker-compose simplified 2018-10-17 19:13:22 +02:00