From 4185ae5d0c84a42093e044cc9f78cc70f5fe4b3a Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 2 Nov 2025 14:12:47 +0100 Subject: [PATCH] =?UTF-8?q?nocodb/docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nocodb/docker-compose.yml | 55 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 nocodb/docker-compose.yml diff --git a/nocodb/docker-compose.yml b/nocodb/docker-compose.yml new file mode 100644 index 0000000..529ab7c --- /dev/null +++ b/nocodb/docker-compose.yml @@ -0,0 +1,55 @@ +services: + db: + image: postgres:17 + container_name: nocodb-db + hostname: noco-pg + security_opt: + - no-new-privileges:true + healthcheck: + test: ["CMD", "pg_isready", "-q", "-d", "nocodb", "-U", "nocodbuser"] + timeout: 30s + interval: 10s + retries: 10 + volumes: + - nocodb-db:/var/lib/postgresql/data:rw + environment: + POSTGRES_DB: nocodb + POSTGRES_USER: nocodbuser + POSTGRES_PASSWORD: nocodbpass + restart: on-failure:5 + + nocodb: + image: nocodb/nocodb:latest + container_name: nocodb + hostname: nocodb + security_opt: + - no-new-privileges:true + healthcheck: + test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8080' || exit 1 + interval: 10s + timeout: 5s + retries: 3 + start_period: 90s + ports: + - 8631:8080 + volumes: + - nocodb-data:/usr/app/data:rw + environment: + NC_ADMIN_EMAIL: michael.scheidel@scheidel.biz + NC_ADMIN_PASSWORD: ?Aichwald01 + NC_DB: pg://noco-pg:5432?u=nocodbuser&p=nocodbpass&d=nocodb + NC_SMTP_HOST: smtp.strato.de + NC_SMTP_FROM: michael.scheidel@scheidel.biz + NC_SMTP_PORT: 587 + NC_SMTP_USERNAME: ichael.scheidel@scheidel.biz + NC_SMTP_PASSWORD: ?EAM?Yes!01 + NC_AUTH_JWT_SECRET: dOxZYTTZgXKMHkqLBIQVImayQXAVWdzGBPuFJKggzcgvgPJPXpWzqzKaUOIOGGIr + #NC_PUBLIC_URL: https://nocodb.yourname.synology.me + restart: on-failure:5 + depends_on: + db: + condition: service_healthy + +volumes: + nocodb-db: + nocodb-data: \ No newline at end of file