added all the dotfiles
This commit is contained in:
7
podman/nocodb/.env
Executable file
7
podman/nocodb/.env
Executable file
@@ -0,0 +1,7 @@
|
||||
# .env file
|
||||
NC_DB=pg://postgres:5432?u=nocodb&p=LFeVBxYxjlk959sXXNKK6jx4hZmELdZDLQU3sN+m+04=&d=nocodb
|
||||
NC_AUTH_JWT_SECRET=9D3V0TFT6YWHT8s3csTHm6KQuf3o74m4bJ3UQfI/e1w=
|
||||
NC_PUBLIC_URL=http://100.111.222.33:8066
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=LFeVBxYxjlk959sXXNKK6jx4hZmELdZDLQU3sN+m+04=
|
||||
POSTGRES_DB=nocodb
|
||||
40
podman/nocodb/docker-compose.yml
Executable file
40
podman/nocodb/docker-compose.yml
Executable file
@@ -0,0 +1,40 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# --- NocoDB + Postgres + Redis ---
|
||||
nocodb:
|
||||
image: docker.io/nocodb/nocodb:latest
|
||||
restart: unless-stopped
|
||||
container_name: nocodb
|
||||
depends_on:
|
||||
- nocodb-db
|
||||
- nocodb-redis
|
||||
environment:
|
||||
# Point NocoDB at Postgres. Change passwords before using in prod.
|
||||
NC_DB: pg://nocodb-db:5432?u=noco&p=noco_pass&d=nocodb
|
||||
# Required for auth sessions/tokens — use a long random string.
|
||||
NC_AUTH_JWT_SECRET: "change-me-super-random"
|
||||
ports:
|
||||
- "8077:8080"
|
||||
volumes:
|
||||
- /mnt/flash1/podman/nocodb/data/nocodb:/usr/app/data
|
||||
|
||||
nocodb-db:
|
||||
image: docker.io/postgres:15
|
||||
restart: unless-stopped
|
||||
container_name: nocodb-post
|
||||
environment:
|
||||
POSTGRES_USER: noco
|
||||
POSTGRES_PASSWORD: noco_pass
|
||||
POSTGRES_DB: nocodb
|
||||
volumes:
|
||||
- /mnt/flash1/podman/nocodb/data/db:/var/lib/postgresql/data
|
||||
|
||||
nocodb-redis:
|
||||
image: docker.io/redis:7
|
||||
restart: unless-stopped
|
||||
container_name: nocodb-redis
|
||||
|
||||
#volumes:
|
||||
# nocodb_data:
|
||||
# nocodb_db:
|
||||
Reference in New Issue
Block a user