プレイグラウンド、サンドボックス、使い捨てスクリプト置き場
0

Configure Feed

Select the types of activity you want to include in your feed.

create nocodb

Kohei Watanabe (Dec 19, 2023, 11:58 PM +0900) c2508815 4db8537f

+47 -1
+1
.gitignore
··· 1 1 node_modules/ 2 2 dist/ 3 3 .next/ 4 + .env
-1
hasura-rest/.gitignore
··· 1 - .env
+5
nocodb/Makefile
··· 1 + .env: 2 + touch .env 3 + chmod 600 .env 4 + @echo POSTGRES_PASSWORD=$(shell openssl rand -hex 32) >> .env 5 + @echo NC_AUTH_JWT_SECRET=$(shell openssl rand -hex 32) >> .env
+28
nocodb/compose.yml
··· 1 + services: 2 + nocodb: 3 + image: nocodb/nocodb:latest 4 + ports: 5 + - 8080:8080 6 + volumes: 7 + - nocodb_data:/usr/app/data 8 + environment: 9 + NC_DB: pg://db?u=postgres&p=${POSTGRES_PASSWORD:?}&d=postgres 10 + NC_AUTH_JWT_SECRET: ${NC_AUTH_JWT_SECRET:?} 11 + db: 12 + image: postgres:16-alpine 13 + environment: 14 + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?} 15 + volumes: 16 + - postgres_data:/var/lib/postgresql/data 17 + pgadmin: 18 + image: dpage/pgadmin4:latest 19 + ports: 20 + - "8888:80" 21 + environment: 22 + PGADMIN_DEFAULT_EMAIL: postgres@db.host.docker.internal 23 + PGADMIN_DEFAULT_PASSWORD: ${POSTGRES_PASSWORD:?} 24 + volumes: 25 + - ./servers.json:/pgadmin4/servers.json:ro 26 + volumes: 27 + nocodb_data: 28 + postgres_data:
+13
nocodb/servers.json
··· 1 + { 2 + "Servers": { 3 + "1": { 4 + "Name": "postgres@db", 5 + "Group": "docker", 6 + "Port": 5432, 7 + "Username": "postgres", 8 + "Host": "db", 9 + "SSLMode": "prefer", 10 + "MaintenanceDB": "postgres" 11 + } 12 + } 13 + }