modifying things for portainer

This commit is contained in:
2025-11-26 20:07:00 -08:00
parent a2a5f34c51
commit 52f1705324
18 changed files with 74 additions and 433 deletions
+18
View File
@@ -0,0 +1,18 @@
# nocodb
Last Updated: Thu August 01, 2024 18:40:57 PDT
## Overview
Docker Hub: https://hub.docker.com/r/nocodb/nocodb
Project: https://nocodb.com/
Docker Compose Example: https://github.com/nocodb/nocodb/blob/master/docker-compose/mysql/docker-compose.yml
Proxy Port: 8080
## Description
This project is setup to use sql lite. Although it can use mysql with some env vars.
## Notes
# environment:
# - NC_DB=${NCDB_NC_DB:-mysql2://root_db:3306?u=noco&p=password&d=root_db}
+9
View File
@@ -0,0 +1,9 @@
services:
nc:
image: ${NOCODB_IMAGE:-nocodb/nocodb:latest}
restart: unless-stopped
volumes:
- "nocodb-data:/usr/app/data"
volumes:
nocodb-data:
+39
View File
@@ -0,0 +1,39 @@
services:
nocodb:
depends_on:
root_db:
condition: service_healthy
environment:
NC_DB: "mysql2://root_db:3306?u=noco&p=password&d=root_db"
image: "nocodb/nocodb:latest"
ports:
- "8000:8080"
restart: always
volumes:
- "nc_data:/usr/app/data"
root_db:
environment:
MYSQL_DATABASE: root_db
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: noco
healthcheck:
retries: 10
test:
- CMD
- mysqladmin
- ping
- "-h"
- localhost
timeout: 20s
image: "mysql:8.0.32"
restart: always
volumes:
- "db_data:/var/lib/mysql"
# below line shows how to change charset and collation
# uncomment it if necessary
# command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
volumes:
db_data: {}
nc_data: {}
+5
View File
@@ -0,0 +1,5 @@
COOKBOOK=/git/docker-compose-cookbooks #HELP: cookbooks
# nocodb
#NOCODB_mysql2=//root_db:3306?u=noco&p=password&d=root_db
NOCODB_IMAGE=nocodb/nocodb:latest