devops folders consolidate
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
# Copyright (c) StellaOps. All rights reserved.
|
||||
# Licensed under BUSL-1.1.
|
||||
|
||||
# Function Behavior Corpus PostgreSQL Database
|
||||
#
|
||||
# Usage:
|
||||
# docker compose -f docker-compose.corpus.yml up -d
|
||||
#
|
||||
# Environment variables:
|
||||
# CORPUS_DB_PASSWORD - PostgreSQL password for corpus database
|
||||
|
||||
services:
|
||||
corpus-postgres:
|
||||
image: postgres:18.1-alpine
|
||||
container_name: stellaops-corpus-db
|
||||
environment:
|
||||
POSTGRES_DB: stellaops_corpus
|
||||
POSTGRES_USER: corpus_user
|
||||
POSTGRES_PASSWORD: ${CORPUS_DB_PASSWORD:-stellaops_corpus_dev}
|
||||
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
|
||||
volumes:
|
||||
- corpus-data:/var/lib/postgresql/data
|
||||
- ../../../docs/db/schemas/corpus.sql:/docker-entrypoint-initdb.d/10-corpus-schema.sql:ro
|
||||
- ./scripts/init-test-data.sql:/docker-entrypoint-initdb.d/20-test-data.sql:ro
|
||||
ports:
|
||||
- "5435:5432"
|
||||
networks:
|
||||
- stellaops-corpus
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U corpus_user -d stellaops_corpus"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
corpus-data:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
stellaops-corpus:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user