"Fossies" - the Fresh Open Source Software Archive

Member "nocodb-0.100.2/docker-compose/mssql/docker-compose.yml" (2 Dec 2022, 773 Bytes) of package /linux/misc/nocodb-0.100.2.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. See also the last Fossies "Diffs" side-by-side code changes report for "docker-compose.yml": 0.98.3_vs_0.98.4.

    1 version: "2.4"
    2 services: 
    3   nocodb: 
    4     depends_on: 
    5       root_db: 
    6         condition: service_healthy
    7     environment: 
    8       NC_DB: "mssql://root_db:1433?u=sa&p=Password123.&d=root_db"
    9     image: "nocodb/nocodb:latest"
   10     ports: 
   11       - "8080:8080"
   12     restart: always
   13     volumes: 
   14       - "nc_data:/usr/app/data"
   15   root_db: 
   16     environment: 
   17       ACCEPT_EULA: "Y"
   18       SA_PASSWORD: Password123.
   19     healthcheck: 
   20       interval: 10s
   21       retries: 10
   22       start_period: 10s
   23       test: "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P \"$$SA_PASSWORD\" -Q \"SELECT 1\" || exit 1"
   24       timeout: 3s
   25     image: "mcr.microsoft.com/mssql/server:2017-latest"
   26     restart: always
   27     volumes: 
   28       - "db_data:/var/opt/mssql"
   29 volumes: 
   30   db_data: {}
   31   nc_data: {}