Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icc23, timescale, cct ecsc23/24 #44

Open
wants to merge 151 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
063c269
Add disclaimer to README.md
RickdeJager Jun 5, 2023
0b4f99a
add prototype version of flag charts
s3np41k1r1t0 Jul 3, 2023
1b2f5d6
change line graph to bar graph
s3np41k1r1t0 Jul 4, 2023
0657ea5
add number of flag in/out per flow to database
s3np41k1r1t0 Jul 5, 2023
ae9eb42
add stats endpoint
s3np41k1r1t0 Jul 5, 2023
2f05507
oopsie remove debug
s3np41k1r1t0 Jul 5, 2023
e63bb8f
chore: port pkappa converters
TrixterTheTux Jul 6, 2023
64019fc
Use TULIP_MONGO env for mongo service
MrQubo Jul 7, 2023
79a963e
feat: proof of concept for decoders
TrixterTheTux Jul 7, 2023
c3cb320
add more tags
s3np41k1r1t0 Jul 7, 2023
c377c64
Merge pull request #12 from team-europe/feature/bruno-traffic-stats
s3np41k1r1t0 Jul 7, 2023
17a2a21
Merge branch 'main' into feature/flag-graphs
s3np41k1r1t0 Jul 7, 2023
c51c91b
Keyboard flow navigation _mostly_ works
Sijisu Jul 7, 2023
31e5487
Keyboard flow navigation works, closes #6, thanks @Trixter :)
Sijisu Jul 7, 2023
b7359d4
Frontend: Cosmetic FlowList changes
Sijisu Jul 7, 2023
23baf5d
Frontend: FlowList: dont overflow
Sijisu Jul 7, 2023
d16bddc
add support to group stats by tick
s3np41k1r1t0 Jul 12, 2023
d991897
update frontend to match new stats api
s3np41k1r1t0 Jul 12, 2023
f02a8eb
match column colors with tag colors
s3np41k1r1t0 Jul 12, 2023
5cd2bc8
fix typescript index error
s3np41k1r1t0 Jul 12, 2023
92750c4
Frontend: Added global shortcuts
Sijisu Jul 12, 2023
179cd9a
Frontend: Added searchbox jump shortcuts
Sijisu Jul 12, 2023
d40cb23
Frontend: Added download icon for pcaps
Sijisu Jul 13, 2023
82ba7dd
Frontend: Added reload keyboard shortcut
Sijisu Jul 13, 2023
37792a2
Frontend: Attempt to scroll to opened flow possition in FlowList
Sijisu Jul 13, 2023
cc474b8
Frontend: Check if have *some* result before scrolling
Sijisu Jul 13, 2023
32b5657
Frontend: flag in/out shortcuts
Sijisu Jul 13, 2023
7bc35e5
Frontend: added shortcut reference
Sijisu Jul 13, 2023
47089c0
Frontend: better shortcut reference
Sijisu Jul 13, 2023
f915d0d
Frontend: added in flow shortcut movement
Sijisu Jul 13, 2023
39f3243
Frontend: flow shortcut movement fixes
Sijisu Jul 13, 2023
b1eb5f2
Frontend: last 5 ticks shortcut
Sijisu Jul 13, 2023
410bc81
Frontend: clear time filter shortcut, happy enough to close #15
Sijisu Jul 13, 2023
9ae4ed6
Add PCAP-over-IP and BPF Support to assembler
MaxGroot Jul 10, 2023
70d2657
change tags order
s3np41k1r1t0 Jul 14, 2023
9d7c15d
Merge pull request #16 from team-europe/feature/flag-graphs
s3np41k1r1t0 Jul 14, 2023
8b04468
Add option to tag flows based on flowbits
MaxGroot Jul 10, 2023
eba98b9
Add option to exclude flows based on a tag
MaxGroot Jul 10, 2023
82f7763
Frontend: fixed vim muscle memory issues
Sijisu Jul 14, 2023
8cf5e36
Frontend: download flow/body as file, close #14
Sijisu Jul 15, 2023
f3b262e
Frontend: prepare for other body types
Sijisu Jul 15, 2023
45d9ed2
Added search highlight
joonatanjak Sep 15, 2022
7bb0758
Frontend: tweak search text highlighting
Sijisu Jul 15, 2023
78dd966
Frontend: fix FlowList shortcut docs
Sijisu Jul 15, 2023
7e4d75b
Frontend: add shortcut cb deps & remove extra whitespace in highlight
Sijisu Jul 15, 2023
0125010
Frontend: add basic not found error handling
Sijisu Jul 15, 2023
d9edafe
frontend: bring back FlowView undefined check
Sijisu Jul 15, 2023
684ce77
frontend: but to the correct place :P
Sijisu Jul 15, 2023
52d9629
small qol changes in flags and tags graphs
s3np41k1r1t0 Jul 19, 2023
0492690
feat: initial version of under attack graph
TrixterTheTux Jul 21, 2023
952154a
Search and flag highlighting
Sijisu Jul 25, 2023
d5bfe2d
Merge pull request #19 from team-europe/foxit-feature-prs
RickdeJager Jul 25, 2023
89c7d17
Merge pull request #24 from team-europe/sijisu/flag-highlighting
RickdeJager Jul 25, 2023
dbb698c
Add fix for tip toe + test pcap
RickdeJager Jul 23, 2023
376f972
Apply suggestions from code review
MaxGroot Jul 18, 2023
efcb239
Apply logic fixes from code review
Sijisu Jul 26, 2023
a418710
Merge branch 'main' into feature/trixter-under-attack
RickdeJager Jul 26, 2023
17d50ae
Merge pull request #20 from team-europe/feature/trixter-under-attack
RickdeJager Jul 26, 2023
4f516cd
Add visualizer environment variable to docker compose
RickdeJager Jul 27, 2023
6b894dc
feat: refresh under attack data every 30s
TrixterTheTux Jul 27, 2023
f7973a0
Frontend: remove forgotten console logs
Sijisu Jul 28, 2023
770f108
Frontend: nicer HTTP session tracking UI
Sijisu Jul 28, 2023
54ba79c
Frontend: better miss some highlighting, than break complex queries
Sijisu Jul 28, 2023
1d04d1e
Allow for multiple representations
RickdeJager Jul 28, 2023
76ab2ce
refactor: use worker pools, use msgpack over json
TrixterTheTux Jul 28, 2023
dde2e55
Merge remote-tracking branch 'origin/feature/rdj-db-changes' into fea…
TrixterTheTux Jul 28, 2023
a64fc31
refactor: introduce RawData (and sync code from laptop to pc, this is…
TrixterTheTux Jul 28, 2023
b886609
fix: properly deal with additional flow representations
TrixterTheTux Jul 28, 2023
681e299
jetbrains pls
TrixterTheTux Jul 28, 2023
dcad62c
feat(converters): timeout, recovery, parallelization
TrixterTheTux Jul 28, 2023
4f1a151
Frontend: implemented decoder repr selection
Sijisu Jul 30, 2023
7644d83
Frontend: added explicit time display, so we can see patterns even ab…
Sijisu Jul 30, 2023
25bb0dd
feat(converters): minimize loss in case of timeout/crash
TrixterTheTux Jul 30, 2023
8b0484b
fix: pipeline stages not being respected
TrixterTheTux Jul 31, 2023
5966865
Frontend: clarify tooltip
Sijisu Jul 31, 2023
10ea749
Frontend: add support for diffing different reprs + bug fixes
Sijisu Jul 31, 2023
98d0f30
fix: remove content-encoding header if the encoding is changed
TrixterTheTux Jul 31, 2023
28383de
Frontend: add repr switch shortcut
Sijisu Jul 31, 2023
956591d
Frontend: update shortcuts
Sijisu Jul 31, 2023
ece4d8e
Frontend: add quick repr diff
Sijisu Jul 31, 2023
26abfec
Merge branch 'feature/trixter-decoders'
Sijisu Jul 31, 2023
e3dff33
Fix inverted err branch in http_session_tracking
RickdeJager Jul 31, 2023
068e13c
Merge branch 'enhancement/http-session-tracking'
Sijisu Jul 31, 2023
91dbb98
Merge branch 'main' into feature/rdj-assembler-sanitizer
RickdeJager Jul 31, 2023
bd0c30a
Merge pull request #25 from team-europe/feature/rdj-assembler-sanitizer
RickdeJager Jul 31, 2023
c85ed01
Frontend: fix a merge issue
Sijisu Jul 31, 2023
df905b9
Python: fix import consts
Sijisu Jul 31, 2023
627c93a
Python: fixes, edit the exploit templates to reflect ataka variable n…
Sijisu Aug 1, 2023
3ff8b02
Merge pull request #30 from team-europe/sijisu/template-fixes
RickdeJager Aug 1, 2023
557d569
Add all changes from the local infra patch
RickdeJager Aug 1, 2023
d2aef8e
Merge branch 'feature-assembler' into develop
liskaant Aug 17, 2023
d82a9e8
assembler: add option to dump received packets into new PCAPs
liskaant Aug 18, 2023
3cb2480
Merge branch 'feature-dump-pcaps' into develop
liskaant Aug 22, 2023
1537eb9
Merge branch 'feature-qol' into develop
liskaant Aug 25, 2023
3e88e6a
Merge remote-tracking branch 'tulip-private/develop'
Sijisu Sep 23, 2023
b6c98b1
Merge remote-tracking branch 'tulip-public/master'
Sijisu Sep 23, 2023
89008af
migrate to timescaledb
liskaant Oct 1, 2023
8682b8c
finalize search, tags and fingerprints
liskaant Oct 4, 2023
e79ac6b
fix max assembler concurrency
liskaant Oct 10, 2023
9f23831
add tick bucket sql functions
liskaant Oct 10, 2023
f327394
fix utf8 decoding in frontend
liskaant Oct 10, 2023
7d49439
finish indexing
liskaant Oct 10, 2023
94a550d
fix suricata signature insert
liskaant Oct 11, 2023
cdb32d8
optimize enricher tags
liskaant Oct 11, 2023
79243ec
Fix flowitem time representation
Sijisu Oct 13, 2023
b4003a1
fix pcap position marking
liskaant Oct 16, 2023
7d977d0
improve regex search indexing
liskaant Nov 24, 2023
c112abe
some forgotten stuff from ecsc2023
liskaant May 21, 2024
65e6405
compose: restart services unless-stopped
liskaant May 21, 2024
d2f282c
fix(compose): dont expose api
liskaant May 22, 2024
00276a4
Merge icc23 changes into public
liskaant Jul 12, 2024
5398bdc
Merge branch 'feature-timescale' into icc23
liskaant Jul 19, 2024
e4cb665
Fix flow indexing (for last character of flow)
Hackrrr Sep 2, 2024
c78f0b4
Fix UDP flow insert
Hackrrr Sep 2, 2024
d1809c4
Merge pull request #18 from CzechCyberTeam/hackrrr-assembler-fixes
liskaant Sep 3, 2024
c30a561
fix bug causing only the last tag to upsert to tags table
honzakucera Sep 1, 2024
b63bfb7
fix bux causing http decoders (gzip,brotli) output not to save to par…
honzakucera Sep 1, 2024
c2552d4
modify dockerfiles for faster builds
honzakucera Sep 1, 2024
71d8e53
fix shutdown signals in api and frontend
honzakucera Sep 6, 2024
ba42fea
Merge pull request #20 from CzechCyberTeam/flagisallus-stop-signal-fix
liskaant Sep 7, 2024
0bcce4d
Add initial support for fake flag feature
Hackrrr Oct 14, 2023
a1e0a1b
Add DummyFlagValidator
Hackrrr Nov 19, 2023
114b5eb
Add Enowars flag validator
Hackrrr Nov 21, 2023
3e59a99
Fix null pointer dereference with UDP assembler
Hackrrr Nov 21, 2023
44fede8
Configurable fake-flag feature via flags/env
Hackrrr Jun 16, 2024
e6a473f
Remove prefix length requirement as we don't need it
Hackrrr Jun 24, 2024
2a3bd8e
Better time parsing for flag validator
Hackrrr Aug 27, 2024
58f8ef4
Make fake-flag feature completely configurable via env
Hackrrr Aug 29, 2024
0a74f92
Add ITAD flag validator
Hackrrr Aug 29, 2024
4c85d37
Move tick/time handling stuff to separate file
Hackrrr Aug 29, 2024
2a98102
Update flow header (`FlowOverview`)
Hackrrr Aug 29, 2024
dbef393
Fixed/Upgraded regex highlighting
Hackrrr Aug 29, 2024
1cdde2c
Formatting
Hackrrr Aug 29, 2024
c8ce1e1
Add `import json` to generated scripts
Hackrrr Sep 2, 2024
5f01886
Fallback to raw data when generating `requests` scripts
Hackrrr Sep 2, 2024
875eb86
Remove obsolete `tests.py`
Hackrrr Sep 2, 2024
e01b57b
Formatting + making typecheckers happy
Hackrrr Sep 2, 2024
5c87ad9
Simplify/Refactor `data2req.py`
Hackrrr Sep 2, 2024
f3b7360
Print response for last request in generated `requests` scripts
Hackrrr Sep 2, 2024
ca08494
Add ability to export single non-first request
Hackrrr Sep 2, 2024
4973136
Print every response
Hackrrr Sep 3, 2024
641af15
Put also flags and flagids on one line
Hackrrr Sep 3, 2024
b535c32
Fix starring visual bug
Hackrrr Sep 23, 2024
b148979
Remove old/unused `tags` filter state
Hackrrr Sep 23, 2024
d5d0b4a
Add tag intersection mode(s)
Hackrrr Sep 23, 2024
12c7b88
Update ITAD flag validator with service number
Hackrrr Sep 13, 2024
47a132e
fix(webservice): deduplicate flows from flow_index
liskaant Sep 27, 2024
9f5e978
run flagids service directly
honzakucera Oct 6, 2024
a8d4799
fix(flagids): remove container restart loop
liskaant Nov 29, 2024
5c115c2
chore(config): add more descriptions and default values
liskaant Nov 29, 2024
321c5a3
fix(frontend): urls with http credentials broke api in chrome
liskaant Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 67 additions & 15 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,96 @@
# Tulip config
##############################

# The connection string to connect to the mongo bd
TULIP_MONGO="mongo:27017"
# Timescale connection
TIMESCALE="postgres://tulip@timescale:5432/tulip"

# The location of your pcaps as seen by the host
TRAFFIC_DIR_HOST="./services/test_pcap"

# The location of your pcaps (and eve.json), as seen by the container
TRAFFIC_DIR_DOCKER="/traffic"

# Visualizer
VISUALIZER_URL="http://scraper.example.com"

##############################
# Game config
##############################

# Start time of the CTF (or network open if you prefer)
TICK_START="2018-06-27T13:00+02:00"
TICK_START="2024-11-30T13:00:00Z"

# Tick length in ms
TICK_LENGTH=180000

# The flag format in regex
FLAG_REGEX="[A-Z0-9]{31}="

# VM IP (inside gamenet)
# Currently ignored unless FLAGID_SCRAPE is set
VM_IP="10.10.3.1"
TEAM_ID="3"

##############################
# PCAP_OVER_IP CONFIGS
##############################

# Enable pcap-over-ip and choose server endpoint
# Empty value = disabled
PCAP_OVER_IP=
#PCAP_OVER_IP="host.docker.internal:1337"
# # For multiple PCAP_OVER_IP you can comma separate
# For multiple PCAP_OVER_IP you can comma separate
#PCAP_OVER_IP="host.docker.internal:1337,otherhost.com:5050"

##############################
# DUMP_PCAPS CONFIGS
##############################

# Enable pcap dumping and select target location
# Empty value = disabled
DUMP_PCAPS=
#DUMP_PCAPS="/traffic"

# Dumping options
# Ignored unless DUMP_PCAPS is set
DUMP_PCAPS_INTERVAL="1m"
DUMP_PCAPS_FILENAME="2006-01-02_15-04-05.pcap"

##############################
# FLAGID CONFIGS
##############################

# # enable flagid scrapping
# FLAGID_SCRAPE=1
# # enable flagid scanning
# FLAGID_SCAN=1
# # Flag Lifetime in Ticks (-1 for no check, pls don't use outside testing)
# FLAG_LIFETIME=-1
# # Flagid endpoint currently Testendpoint in docker compose
# FLAGID_ENDPOINT="http://flagidendpoint:8000/flagids.json"
# # VM IP (inside gamenet)
# VM_IP="10.10.3.1"
# TEAM_ID="10.10.3.1"
# Enable flagid scrapping
# Empty value = disabled
FLAGID_SCRAPE=
#FLAGID_SCRAPE=1

# Enable flagid scanning - Tags flag ids in traffic
# Empty value = disabled
# Does nothing unless FLAGID_SCRAPE is set
FLAGID_SCAN=
#FLAGID_SCAN=1

# Flag lifetime in ticks
# Empty value = Fallback to TICK_LENGTH
# -1 = No check, pls don't use outside testing
FLAG_LIFETIME=
#FLAG_LIFETIME=-1
#FLAG_LIFETIME=5

# Flagid endpoint
# Default value is a test container in docker-compose-test.yml, change this for production
# Ignored unless FLAGID_SCRAPE is set
FLAGID_ENDPOINT="http://flagidendpoint:8000/flagids.json"

##############################
# FLAG_VALIDATOR CONFIGS
##############################

# Enables flag validation / fake flag feature. Must be one of: faust, enowars, eno, itad
# Empty value = disabled
FLAG_VALIDATOR_TYPE=

# Some flag validators can make use of (our) team number/ID
# Ignored unless FLAG_VALIDATOR_TYPE is set
FLAG_VALIDATOR_TEAM=42
Empty file modified .gitignore
100755 → 100644
Empty file.
17 changes: 17 additions & 0 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

Tulip is a flow analyzer meant for use during Attack / Defence CTF competitions. It allows players to easily find some traffic related to their service and automatically generates python snippets to replicate attacks.

## Disclaimer
The following disclaimer is intended to clarify the usage and purpose of any tools developed by Team Europe towards ICC.

Please read the following statement carefully:

Purpose: The tools developed by Team Europe members and coaches on this repository are intended for private use during ICC 2023 and ICC 2024. The tools are designed to enhance the team's performance, strategy, and overall participation in ICC.

Private Use: The tools developed towards ICC are not intended for public distribution, or any use beyond the scope of ICC without explicit authorization from ENISA and the team members.

Intellectual Property: The intellectual property rights of the tools developed by Team Europe towards ICC belong solely to the team and its members. Any unauthorized replication, modification, distribution, or use of the tools outside the specified competition is strictly prohibited.

Exceptions: Upon agreement of ENISA and the Team Europe developers of the tools, authorisation can be provided for the private use of the same tools by national European Teams during the ECSC competition.

By developing and using the tools developed by and for Team Europe towards ICC, you signify your understanding, acceptance, and compliance with the terms outlined in this disclaimer.

---

## Origins
Tulip was developed by Team Europe for use in the first International Cyber Security Challenge. The project is a fork of [flower](https://github.com/secgroup/flower), but it contains quite some changes:
* New front-end (typescript / react / tailwind)
Expand Down
73 changes: 52 additions & 21 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
version: "3.2"
version: "3.5"
services:
mongo:
image: mongo:5
timescale:
build: services/timescale
image: tulip-timescale:latest
restart: unless-stopped
volumes:
- timescale-data:/var/lib/postgresql/data
- ./services/schema/system.sql:/docker-entrypoint-initdb.d/100_system.sql:ro
- ./services/schema/functions.sql:/docker-entrypoint-initdb.d/101_functions.sql:ro
- ./services/schema/schema.sql:/docker-entrypoint-initdb.d/102_schema.sql:ro
networks:
- internal
restart: always
ports:
- "27017:27017"
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: tulip
POSTGRES_DB: tulip
# This does not need to be adjusted, unless you actually want to limit it
# Postgres uses shared memory for caching, and docker assigns just 64 MB by default
shm_size: '128g'

frontend:
build:
Expand All @@ -16,13 +27,16 @@ services:
restart: unless-stopped
ports:
- "3000:3000"
expose:
- 3000
depends_on:
- mongo
- timescale
- api
networks:
- internal
environment:
API_SERVER_ENDPOINT: http://api:5000/
VIRTUAL_HOST: tulip.h4xx.eu

api:
build:
Expand All @@ -31,35 +45,37 @@ services:
image: tulip-api:latest
restart: unless-stopped
depends_on:
- mongo
- timescale
networks:
- internal
volumes:
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro,z
environment:
TULIP_MONGO: ${TULIP_MONGO}
TIMESCALE: ${TIMESCALE}
TULIP_TRAFFIC_DIR: ${TRAFFIC_DIR_DOCKER}
FLAG_REGEX: ${FLAG_REGEX}
TICK_START: ${TICK_START}
TICK_LENGTH: ${TICK_LENGTH}
VM_IP: ${VM_IP}

flagids:
restart: on-failure
restart: unless-stopped
build:
context: services/flagids
image: tulip-flagids:latest
depends_on:
- mongo
- timescale
networks:
- internal
environment:
TULIP_MONGO: ${TULIP_MONGO}
TIMESCALE: ${TIMESCALE}
TICK_START: ${TICK_START}
TICK_LENGTH: ${TICK_LENGTH}
FLAGID_SCRAPE: ${FLAGID_SCRAPE}
TEAM_ID: ${TEAM_ID}
FLAGID_ENDPOINT: ${FLAGID_ENDPOINT}
VISUALIZER_URL: ${VISUALIZER_URL}
DUMP_PCAPS: ${DUMP_PCAPS}

assembler:
build:
Expand All @@ -68,38 +84,53 @@ services:
image: tulip-assembler:latest
restart: unless-stopped
depends_on:
- mongo
- timescale
networks:
- internal
volumes:
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro
command: "./assembler -dir ${TRAFFIC_DIR_DOCKER}"
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro,z
# Command line flags most likely to fix a tulip issue:
# - -http-session-tracking: enable HTTP session tracking
# - -dir: directory to read traffic from
# - -skipchecksum: skip checksum validation
# - -flush-after: i.e. 2m Not needed in pcap rotation mode
# - -disable-converters: disable converters
# - -discard-extra-data: dont split large flow items, just discard them
command: "./assembler -http-session-tracking -skipchecksum -disable-converters -dir ${TRAFFIC_DIR_DOCKER}"
environment:
TULIP_MONGO: ${TULIP_MONGO}
TIMESCALE: ${TIMESCALE}
FLAG_REGEX: ${FLAG_REGEX}
TICK_START: ${TICK_START}
TICK_LENGTH: ${TICK_LENGTH}
FLAGID_SCAN: ${FLAGID_SCAN}
FLAG_LIFETIME: ${FLAG_LIFETIME}
FLAG_VALIDATOR_TYPE: ${FLAG_VALIDATOR_TYPE}
FLAG_VALIDATOR_TEAM: ${FLAG_VALIDATOR_TEAM}
PCAP_OVER_IP: ${PCAP_OVER_IP}
DUMP_PCAPS: ${DUMP_PCAPS}
DUMP_PCAPS_INTERVAL: ${DUMP_PCAPS_INTERVAL}
DUMP_PCAPS_FILENAME: ${DUMP_PCAPS_FILENAME}
extra_hosts:
- "host.docker.internal:host-gateway"


enricher:
build:
context: services/go-importer
dockerfile: Dockerfile-enricher
image: tulip-enricher:latest
restart: unless-stopped
depends_on:
- mongo
- timescale
networks:
- internal
volumes:
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro,z
command: "./enricher -eve ${TRAFFIC_DIR_DOCKER}/eve.json"
environment:
TULIP_MONGO: ${TULIP_MONGO}
TIMESCALE: ${TIMESCALE}

volumes:
timescale-data:

networks:
internal:
2 changes: 1 addition & 1 deletion frontend/Dockerfile-frontend
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN yarn run build

EXPOSE 3000

CMD yarn run preview --host --port 3000
CMD ["yarn", "run", "preview", "--host", "--port", "3000"]
Loading