"Fossies" - the Fresh Open Source Software Archive

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