36 lines
784 B
YAML
36 lines
784 B
YAML
services:
|
|
|
|
noco:
|
|
image: nocodb/nocodb:latest
|
|
container_name: noco
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- postgres
|
|
ports:
|
|
- "2800:8080"
|
|
environment:
|
|
NC_DB: "pg://postgres:5432?u=nocodb&p=nocodb123&d=nocodb"
|
|
NC_AUTH_JWT_SECRET: "change_this_to_random_string"
|
|
volumes:
|
|
- /volume2/docker/docker_projects/nocodb/data:/usr/app/data
|
|
networks:
|
|
- nocodb
|
|
|
|
|
|
postgres:
|
|
image: postgres:16
|
|
container_name: nocodb-postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: nocodb
|
|
POSTGRES_USER: nocodb
|
|
POSTGRES_PASSWORD: nocodb123
|
|
volumes:
|
|
- /volume2/docker/docker_projects/nocodb/postgres:/var/lib/postgresql/data
|
|
networks:
|
|
- nocodb
|
|
|
|
|
|
networks:
|
|
nocodb:
|
|
driver: bridge |