-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance the Compose development set-up
Changes are: - Allows Docker image builds in a restricted company context (limited access to remote Ubuntu, Python or Node repositories) using variables, - Centralizes variables in a .env file (not versioned), - Adds a .env.template file as .env template with predefined variables, - Use a distinct directory for every service dependencies, - Use a per-service environment file, - Simplifies how development configuration files are transferred to Timesketch, - Simplifies manipulation of containers using Compose CLI instead of the Docker one, - Simplify and optimizes the Timesketch entrypoint, - Updates the Bash scripts to start frontend-ng, - Updates related documentation.
- Loading branch information
1 parent
0de30e7
commit d314590
Showing
21 changed files
with
730 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,6 @@ | |
|
||
# Exclude JetBrains IDE files | ||
/.idea/ | ||
|
||
# Exclude Compose environment file | ||
/docker/dev/.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,3 +53,6 @@ vagrant/*.log | |
|
||
# Exclude JetBrains IDE files | ||
.idea/ | ||
|
||
# Exclude Compose environment file | ||
docker/dev/.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
GIFT_PPA_TRACK="stable" | ||
GIFT_PPA_URL="https://ppa.launchpadcontent.net/gift/${GIFT_PPA_TRACK}/ubuntu" | ||
NODE_VERSION="18.x" | ||
NODE_PPA_URL="https://deb.nodesource.com/node_${NODE_VERSION}" | ||
NODE_NPMRC="" | ||
PYTHON_PIP_CONF="" | ||
|
||
TIMESKETCH_BASE_IMAGE="ubuntu:22.04" | ||
TIMESKETCH_CONF_DIR="/etc/timesketch" | ||
TIMESKETCH_SECRET_KEY="L4np0jV3yAdAFdbVzWRMaBqiFMV8FKYd+Je1WKE40o8=" | ||
TIMESKETCH_USER="dev" | ||
TIMESKETCH_PASSWORD="dev" | ||
|
||
POSTGRES_USER="timesketch" | ||
POSTGRES_PASSWORD="password" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.