Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Ensure the title is a clear summary of the requirement and provides enough conte

```ts
// This file is part of midnight-node-docker.
// Copyright (C) 2025 Midnight Foundation
// Copyright (C) Midnight Foundation
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// You may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cardano-config/preview/LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The files in this dir are part of https://github.com/midnightntwrk/midnight-node-docker
Copyright (C) 2025 Midnight Foundation
Copyright (C) Midnight Foundation
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
You may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion compose-partner-chains.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is part of https://github.com/midnightntwrk/midnight-node-docker
# Copyright (C) 2025 Midnight Foundation
# Copyright (C) Midnight Foundation
# SPDX-License-Identifier: Apache-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
Expand All @@ -20,12 +20,12 @@
ogmios-data: {}

services:
cardano-node:

Check warning on line 23 in compose-partner-chains.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Capabilities Unrestricted

Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessary capabilities as well.
image: ${CARDANO_IMAGE}
platform: linux/amd64
restart: unless-stopped
container_name: cardano-node
ports:

Check warning on line 28 in compose-partner-chains.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Traffic Not Bound To Host Interface

Incoming container traffic should be bound to a specific host interface
- "3001:3001"
environment:
- NETWORK=${CARDANO_NETWORK}
Expand All @@ -34,7 +34,7 @@
- cardano-ipc:/ipc
- ${CARDANO_DATA_DIR}:/data

postgres:

Check warning on line 37 in compose-partner-chains.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Capabilities Unrestricted

Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessary capabilities as well.
image: postgres:15.3
platform: linux/amd64
restart: unless-stopped
Expand All @@ -45,7 +45,7 @@
- POSTGRES_USER=${POSTGRES_USER}
volumes:
- postgres-data:/var/lib/postgresql/data
ports:

Check warning on line 48 in compose-partner-chains.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Traffic Not Bound To Host Interface

Incoming container traffic should be bound to a specific host interface
- "${POSTGRES_PORT}:${POSTGRES_PORT}"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
Expand All @@ -53,7 +53,7 @@
timeout: 5s
retries: 5

cardano-db-sync:

Check warning on line 56 in compose-partner-chains.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Capabilities Unrestricted

Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessary capabilities as well.
image: ghcr.io/intersectmbo/cardano-db-sync:13.6.0.5
platform: linux/amd64
container_name: cardano-db-sync
Expand All @@ -72,14 +72,14 @@
- cardano-ipc:/node-ipc
- db-sync-data:/var/lib

cardano-ogmios:

Check warning on line 75 in compose-partner-chains.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Capabilities Unrestricted

Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessary capabilities as well.
image: cardanosolutions/ogmios:v6.11.0
platform: linux/amd64
container_name: cardano-ogmios
restart: unless-stopped
environment:
- DATA_DIR=/data
ports:

Check warning on line 82 in compose-partner-chains.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Traffic Not Bound To Host Interface

Incoming container traffic should be bound to a specific host interface
- "1337:1337"
volumes:
- cardano-ipc:/ipc
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is part of https://github.com/midnightntwrk/midnight-node-docker
# Copyright (C) 2025 Midnight Foundation
# Copyright (C) Midnight Foundation
# SPDX-License-Identifier: Apache-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
Expand All @@ -17,11 +17,11 @@
midnight-data-testnet: {}

services:
midnight-node-testnet:

Check warning on line 20 in compose.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Capabilities Unrestricted

Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessary capabilities as well.
container_name: midnight-node
restart: unless-stopped
image: ${MIDNIGHT_NODE_IMAGE}
ports:

Check warning on line 24 in compose.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Traffic Not Bound To Host Interface

Incoming container traffic should be bound to a specific host interface
- "9944:9944" # WebSocket - For RPC/relay type of nodes (queries, new transaction submissions etc).
- "30333:30333" # P2P Traffic - Peer-to-peer communication for node connectivity.
- "9615:9615" # Prometheus - For monitoring, alerting and observability.
Expand Down
2 changes: 1 addition & 1 deletion proof-server.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is part of https://github.com/midnightntwrk/midnight-node-docker
# Copyright (C) 2025 Midnight Foundation
# Copyright (C) Midnight Foundation
# SPDX-License-Identifier: Apache-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
# limitations under the License.

services:
proof-server:

Check warning on line 17 in proof-server.yml

View workflow job for this annotation

GitHub Actions / build

[MEDIUM] Container Capabilities Unrestricted

Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessary capabilities as well.
image: midnightnetwork/proof-server:4.0.0
ports:
- "6300:6300"
Expand Down