Include full contents of all nested repositories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
55
letsbe-ansible-runner/stacks/nocodb/docker-compose.yml
Normal file
55
letsbe-ansible-runner/stacks/nocodb/docker-compose.yml
Normal file
@@ -0,0 +1,55 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
nocodb:
|
||||
container_name: {{ customer }}-nocodb
|
||||
image: nocodb/nocodb:latest
|
||||
restart: always
|
||||
labels:
|
||||
- "diun.enable=true"
|
||||
environment:
|
||||
- NC_DB=pg://{{ customer }}-nocodb-db:5432?u=postgres&p={{ nocodb_postgres_password }}&d=nocodb
|
||||
volumes:
|
||||
- {{ customer }}-nocodb-data:/usr/app/data
|
||||
- {{ customer }}-nocodb-backups:/tmp/backups
|
||||
ports:
|
||||
- "127.0.0.1:3057:8080" # Host port 3057 -> Container port 8080
|
||||
depends_on:
|
||||
nocodb-db:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
{{ customer }}-nocodb:
|
||||
ipv4_address: 172.20.24.2
|
||||
|
||||
nocodb-db:
|
||||
container_name: {{ customer }}-nocodb-db
|
||||
image: postgres:16.6
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_DB: nocodb
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: {{ nocodb_postgres_password }}
|
||||
volumes:
|
||||
- {{ customer }}-nocodb-postgres:/var/lib/postgresql/data
|
||||
- {{ customer }}-nocodb-backups:/tmp/backups
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
{{ customer }}-nocodb:
|
||||
ipv4_address: 172.20.24.3
|
||||
|
||||
networks:
|
||||
{{ customer }}-nocodb:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.20.24.0/28
|
||||
gateway: 172.20.24.1
|
||||
|
||||
volumes:
|
||||
{{ customer }}-nocodb-data:
|
||||
{{ customer }}-nocodb-postgres:
|
||||
{{ customer }}-nocodb-backups:
|
||||
Reference in New Issue
Block a user