"Fossies" - the Fresh Open Source Software Archive

Member "nocodb-0.83.5/docker-compose/pg/docker-compose.yml" (27 Nov 2021, 698 Bytes) of package /linux/misc/nocodb-0.83.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 version: '3.3'
    2 
    3 services:
    4   root_db:
    5     image: postgres
    6     restart: always
    7     volumes:
    8       - db_data:/var/lib/postgresql/data
    9     environment:
   10       POSTGRES_PASSWORD: password
   11       POSTGRES_USER: postgres
   12       POSTGRES_DB: root_db
   13     healthcheck:
   14       test: pg_isready -U "$$POSTGRES_USER" -d "$$POSTGRES_DB"
   15       interval: 10s
   16       timeout: 2s
   17       retries: 10
   18   nocodb:
   19     depends_on:
   20       root_db:
   21         condition: service_healthy
   22     image: nocodb/nocodb:latest
   23     ports:
   24       - "8080:8080"
   25       - "8081:8081"
   26       - "8082:8082"
   27       - "8083:8083"
   28     restart: always
   29     environment:
   30       NC_DB: "pg://root_db:5432?u=postgres&p=password&d=root_db"
   31 volumes:
   32   db_data: {}