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
AWS_ACCESS_KEY_ID: admin | |
AWS_SECRET_ACCESS_KEY: password | |
AWS_REGION: us-east-1 | |
AWS_DEFAULT_REGION: us-east-1 |
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
build: | |
context: ./designer/ | |
args: | |
NUSSKNACKER_VERSION: ${NUSSKNACKER_VERSION:?NUSSKNACKER_VERSION must be defined} | |
FLINK_VERSION: "1.19.1-scala_2.12-java11" | |
FLINK_VERSION_SHORT: 1.19 | |
HADOOP_VERSION: 2.8.3 | |
FLINK_HADOOP_VERSION: "2.8.3-10.0" | |
AWS_SDK_VERSION: 2.26.10 | |
ICEBERG_VERSION: 1.6.1 |
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
ARG NUSSKNACKER_VERSION | |
FROM touk/nussknacker:${NUSSKNACKER_VERSION}_scala-2.12 | |
ARG FLINK_VERSION | |
ARG FLINK_VERSION_SHORT | |
ARG HADOOP_VERSION | |
ARG FLINK_HADOOP_VERSION | |
ARG AWS_SDK_VERSION | |
ARG ICEBERG_VERSION |
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
catalogConfiguration { | |
"type": "iceberg", | |
"catalog-impl": "org.apache.iceberg.nessie.NessieCatalog" | |
"io-impl": "org.apache.iceberg.aws.s3.S3FileIO" | |
"uri": "http://nessie:19120/api/v2" | |
"warehouse": "s3://warehouse" | |
"s3.endpoint": "http://minio:9000" | |
} |
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
nessie: | |
image: projectnessie/nessie:0.76.6 | |
depends_on: | |
postgres: | |
condition: service_healthy | |
networks: | |
- nussknacker-iceberg-net | |
ports: | |
- 19120:19120 | |
environment: |
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
#!/bin/bash | |
set -e | |
RESULT=$(psql -tc "SELECT 1 FROM pg_database WHERE datname = '$DB';") | |
if [ -z "$RESULT" ]; then | |
echo "Database $DB does not exist. Creating..." | |
psql -v ON_ERROR_STOP=1 <<-EOSQL | |
CREATE USER $USER WITH ENCRYPTED 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
postgres-setup: | |
image: postgres:16.4 | |
depends_on: | |
postgres: | |
condition: service_healthy | |
networks: | |
- nussknacker-iceberg-net | |
environment: | |
PGHOST: "postgres" | |
PGDATABASE: "nu-db" |
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
networks: | |
nussknacker-iceberg-net: |
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
networks: | |
- nussknacker-iceberg-net |
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
nussknacker_minio_data: | |
name: nussknacker_minio_data |