"Fossies" - the Fresh Open Source Software Archive

Member "nocodb-0.100.2/docker-compose/nginx-proxy-manager/docker-compose.yml" (2 Dec 2022, 1186 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.1'
    2 networks: 
    3   default: ~
    4   nginxproxy: ~
    5 services: 
    6   nginx-proxy-manager: 
    7     environment: 
    8       PGID: 1000
    9       PUID: 1000
   10       TZ: Europe/Amsterdam
   11     image: jlesage/nginx-proxy-manager
   12     networks: 
   13       - nginxproxy
   14     ports: 
   15       - "8181:8181"
   16       - "80:8080"
   17       - "443:4443"
   18     restart: always
   19     volumes: 
   20       - "nginx-proxy-manager:/config:rw"
   21   nocodb: 
   22     depends_on: 
   23       root_db: 
   24         condition: service_healthy
   25     environment: 
   26       NC_DB: "mysql2://root_db:3306?u=noco&p=password&d=root_db"
   27     image: "nocodb/nocodb:latest"
   28     networks: 
   29       - default
   30       - nginxproxy
   31     restart: always
   32     volumes: 
   33       - "nc_data:/usr/app/data"
   34   root_db: 
   35     environment: 
   36       MYSQL_DATABASE: root_db
   37       MYSQL_PASSWORD: password
   38       MYSQL_ROOT_PASSWORD: password
   39       MYSQL_USER: noco
   40     healthcheck: 
   41       retries: 10
   42       test: 
   43         - CMD
   44         - mysqladmin
   45         - ping
   46         - "-h"
   47         - localhost
   48       timeout: 20s
   49     image: "mysql:5.7"
   50     networks: 
   51       - default
   52     restart: always
   53     volumes: 
   54       - "db_data:/var/lib/mysql"
   55 volumes: 
   56   db_data: {}
   57   nc_data: {}
   58   nginx-proxy-manager: {}