Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist #431

Closed
Sizuji opened this issue Apr 21, 2020 · 2 comments

Comments

@Sizuji
Copy link

Sizuji commented Apr 21, 2020

Codebase
Mounted codebase.

Describe your issue
Mariadb container doesn't start via docker-compose up

OS: MacOS. Using docker-sync for mariadb, php and nginx volumes.

Output of docker info

Client:
 Debug Mode: false

Server:
 Containers: 12
  Running: 11
  Paused: 0
  Stopped: 1
 Images: 33
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.76-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 3.846GiB
 Name: docker-desktop
 ID: 2N7X:3DRS:CTAP:PU5N:6ZQQ:44KC:7ZUQ:7NSU:UMEH:LOUY:DXZR:CCDV
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 120
  Goroutines: 117
  System Time: 2020-04-21T10:12:42.9188661Z
  EventsListeners: 4
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

Contents of your docker-compose.yml

version: "3"

services:
  mariadb:
    image: wodby/mariadb:$MARIADB_TAG
    container_name: "${PROJECT_NAME}_mariadb"
    stop_grace_period: 30s
    environment:
      MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
      MYSQL_DATABASE: $DB_NAME
      MYSQL_USER: $DB_USER
      MYSQL_PASSWORD: $DB_PASSWORD
    volumes:
      - ./local/mysql:/var/lib/mysql

  php:
    image: wodby/drupal-php:$PHP_TAG
    container_name: "${PROJECT_NAME}_php"
    environment:
      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
      DB_HOST: $DB_HOST
      DB_USER: $DB_USER
      DB_PASSWORD: $DB_PASSWORD
      DB_NAME: $DB_NAME
      DB_DRIVER: $DB_DRIVER
      PHP_FPM_USER: wodby
      PHP_FPM_GROUP: wodby
      COLUMNS: 80 # Set 80 columns for docker exec -it.
    volumes:
      - ./:$LOCAL_PATH
      - ~/.ssh/id_rsa:/home/wodby/.ssh/id_rsa

  nginx:
    image: wodby/nginx:$NGINX_TAG
    container_name: "${PROJECT_NAME}_nginx"
    depends_on:
      - php
    environment:
      NGINX_STATIC_OPEN_FILE_CACHE: "off"
      NGINX_ERROR_LOG_LEVEL: debug
      NGINX_BACKEND_HOST: php
      NGINX_SERVER_ROOT: $LOCAL_PATH/docroot
      NGINX_VHOST_PRESET: $NGINX_VHOST_PRESET
    volumes:
      - ./:$LOCAL_PATH
    labels:
      - 'traefik.backend=${PROJECT_NAME}_nginx'
      - 'traefik.port=80'
      - 'traefik.frontend.rule=Host:${PROJECT_BASE_URL}'
      - "traefik.frontend.priority=1"
      - "traefik.default.protocol=http"
      - "traefik.frontend.entryPoints=http,https"
      - "traefik.frontend.redirect.entryPoint=http"

  mailhog:
    image: mailhog/mailhog
    container_name: "${PROJECT_NAME}_mailhog"
    labels:
      - 'traefik.backend=${PROJECT_NAME}_mailhog'
      - 'traefik.port=8025'
      - 'traefik.frontend.rule=Host:mailhog.${PROJECT_BASE_URL}'

  pma:
    image: phpmyadmin/phpmyadmin
    container_name: "${PROJECT_NAME}_pma"
    environment:
      PMA_HOST: $DB_HOST
      PMA_USER: $DB_USER
      PMA_PASSWORD: $DB_PASSWORD
      PHP_UPLOAD_MAX_FILESIZE: 1G
      PHP_MAX_INPUT_VARS: 1G
    labels:
      - 'traefik.backend=${PROJECT_NAME}_pma'
      - 'traefik.port=80'
      - 'traefik.frontend.rule=Host:pma.${PROJECT_BASE_URL}'

  solr:
    image: solr:$SOLR_TAG
    container_name: "${PROJECT_NAME}_solr"
    volumes:
      - ./local/solr:/var/solr
      - ./data/solr:/var/solr/data/conf
    command:
      - solr-precreate
    labels:
      - 'traefik.backend=${PROJECT_NAME}_solr'
      - 'traefik.port=8983'
      - 'traefik.frontend.rule=Host:solr.${PROJECT_BASE_URL}'

  memcached:
    container_name: "${PROJECT_NAME}_memcached"
    image: wodby/memcached:$MEMCACHED_TAG

Contents of your .env

### Documentation available at https://wodby.com/docs/stacks/drupal/local
### Changelog can be found at https://github.com/wodby/docker4drupal/releases
### Images tags format explained at https://github.com/wodby/docker4drupal#images-tags

### CUSTOM
LOCAL_PATH=/var/www/html

### PROJECT SETTINGS
PROJECT_NAME=prj
PROJECT_BASE_URL=prj.local

DB_NAME=drupal
DB_USER=drupal
DB_PASSWORD=drupal
DB_ROOT_PASSWORD=password
DB_HOST=mariadb
DB_DRIVER=mysql

### --- MARIADB ----

MARIADB_TAG=10.3-3.6.2
#MARIADB_TAG=10.3-3.6.2
#MARIADB_TAG=10.1-3.6.2

### --- VANILLA DRUPAL ----

DRUPAL_TAG=8-4.14.6
#DRUPAL_TAG=7-4.14.6

### --- PHP ----

# Linux (uid 1000 gid 1000)

#PHP_TAG=7.3-dev-4.13.5
#PHP_TAG=7.2-dev-4.13.5
#PHP_TAG=7.1-dev-4.13.5
#PHP_TAG=5.6-dev-4.13.5

# macOS (uid 501 gid 20)

#PHP_TAG=7.3-dev-macos-4.13.5
PHP_TAG=7.2-dev-macos-4.13.5
#PHP_TAG=7.1-dev-macos-4.13.5
#PHP_TAG=5.6-dev-macos-4.13.5

### --- NGINX ----

NGINX_TAG=1.17-5.6.5
#NGINX_TAG=1.16-5.6.5

NGINX_VHOST_PRESET=drupal8
#NGINX_VHOST_PRESET=drupal7
#NGINX_VHOST_PRESET=drupal6

### --- SOLR ---

SOLR_TAG=8

### --- ELASTICSEARCH ---

ELASTICSEARCH_TAG=7-5.1.0
#ELASTICSEARCH_TAG=6-5.1.0

### --- KIBANA ---

KIBANA_TAG=7-5.1.0
#KIBANA_TAG=6-5.1.0

### --- REDIS ---

REDIS_TAG=4-3.1.1
#REDIS_TAG=5-3.1.1

### --- NODE ---

NODE_TAG=12-0.21.0
#NODE_TAG=10-0.21.0
#NODE_TAG=8-0.21.0

### --- VARNISH ---

VARNISH_TAG=6.0-4.3.2
#VARNISH_TAG=4.1-4.3.2

### --- POSTGRESQL ----

POSTGRES_TAG=11-1.7.2
#POSTGRES_TAG=10-1.7.2
#POSTGRES_TAG=9.6-1.7.2
#POSTGRES_TAG=9.5-1.7.2
#POSTGRES_TAG=9.4-1.7.2

### OTHERS

ADMINER_TAG=4-3.6.6
APACHE_TAG=2.4-4.1.1
ATHENAPDF_TAG=2.10.0
DRUPAL_NODE_TAG=1.0-2.0.0
MEMCACHED_TAG=1-2.3.1
OPENSMTPD_TAG=6.0-1.5.2
RSYSLOG_TAG=latest
WEBGRIND_TAG=1.5-1.11.5
XHPROF_TAG=1.4.5

Logs output docker-compose logs

prj_mariadb  | 2020-04-21 10:20:08 0 [Note] mysqld (mysqld 10.3.17-MariaDB) starting as process 1 ...
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Using Linux native AIO
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Mutexes and rw_locks use GCC atprjc builtins
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Uses event mutexes
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Number of pools: 1
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Using SSE2 crc32 instructions
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Completed initialization of buffer pool
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=49468
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Starting final batch to recover 13 pages from redo log.
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Creating shared tablespace for temporary tables
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: 10.3.17 started; log sequence number 1603190; transaction id 9
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] InnoDB: Cannot open '/var/lib/mysql/ib_buffer_pool' for reading: No such file or directory
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] Plugin 'FEEDBACK' is disabled.
prj_mariadb  | 2020-04-21 10:20:08 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] Recovering after a crash using tc.log
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] Starting crash recovery...
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] Crash recovery finished.
prj_mariadb  | 2020-04-21 10:20:08 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
prj_mariadb  | 2020-04-21 10:20:08 0 [Note] Server socket created on IP: '0.0.0.0'.
prj_mariadb  | 2020-04-21 10:20:08 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] mysqld (mysqld 10.3.17-MariaDB) starting as process 1 ...
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Using Linux native AIO
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Mutexes and rw_locks use GCC atprjc builtins
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Uses event mutexes
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Number of pools: 1
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Using SSE2 crc32 instructions
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Completed initialization of buffer pool
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
prj_mariadb  | 2020-04-21 10:33:56 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=49468
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: Starting final batch to recover 13 pages from redo log.
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: Waiting for purge to start
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: 10.3.17 started; log sequence number 1603190; transaction id 9
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] InnoDB: Cannot open '/var/lib/mysql/ib_buffer_pool' for reading: No such file or directory
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] Plugin 'FEEDBACK' is disabled.
prj_mariadb  | 2020-04-21 10:33:57 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] Recovering after a crash using tc.log
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] Starting crash recovery...
prj_memcached | Signal handled: Terminated.
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] Crash recovery finished.
prj_mariadb  | 2020-04-21 10:33:57 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
prj_mariadb  | 2020-04-21 10:33:57 0 [Note] Server socket created on IP: '0.0.0.0'.
prj_mariadb  | 2020-04-21 10:33:57 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
prj_mailhog  | 2020/04/21 10:20:07 Using in-memory storage
prj_mailhog  | [HTTP] Binding to address: 0.0.0.0:8025
prj_mailhog  | 2020/04/21 10:20:07 Serving under http://0.0.0.0:8025/
prj_mailhog  | 2020/04/21 10:20:07 [SMTP] Binding to address: 0.0.0.0:1025
prj_mailhog  | Creating API v1 with WebPath: 
prj_mailhog  | Creating API v2 with WebPath: 
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | [APIv1] KEEPALIVE /api/v1/events
prj_mailhog  | 2020/04/21 10:33:56 Using in-memory storage
prj_mailhog  | 2020/04/21 10:33:56 [SMTP] Binding to address: 0.0.0.0:1025
prj_mailhog  | [HTTP] Binding to address: 0.0.0.0:8025
prj_mailhog  | 2020/04/21 10:33:56 Serving under http://0.0.0.0:8025/
prj_mailhog  | Creating API v1 with WebPath: 
prj_mailhog  | Creating API v2 with WebPath: 
prj_php      | [21-Apr-2020 10:20:08] NOTICE: fpm is running, pid 1
prj_php      | [21-Apr-2020 10:20:08] NOTICE: ready to handle connections
prj_php      | [21-Apr-2020 10:33:38] NOTICE: Finishing ...
prj_php      | [21-Apr-2020 10:33:38] NOTICE: exiting, bye-bye!
prj_php      | [21-Apr-2020 10:33:57] NOTICE: fpm is running, pid 1
prj_php      | [21-Apr-2020 10:33:57] NOTICE: ready to handle connections
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Using TOML configuration file /dev/null"
prj_traefik  | time="2020-04-21T10:20:08Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Traefik version v1.7.24 built on 2020-03-25_04:34:11PM"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/v1.7/basics/#collected-data\n"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Preparing server traefik &{Address::8080 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0006adb00} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0006adac0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Starting server on :8080"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Starting server on :80"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Starting provider *docker.Provider {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Trace\":false,\"TemplateVersion\":2,\"DebugLogGeneratedTemplate\":false,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":true,\"UseBindPortIP\":false,\"SwarmMode\":false,\"Network\":\"\",\"SwarmModeRefreshSeconds\":15}"
prj_traefik  | time="2020-04-21T10:20:08Z" level=error msg="Undefined entry point(s) 'https' for frontend frontend-default-nginx-prj-d8-prj-nginx"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Server configuration reloaded on :8080"
prj_traefik  | time="2020-04-21T10:20:08Z" level=info msg="Server configuration reloaded on :80"
prj_traefik  | time="2020-04-21T10:20:09Z" level=error msg="Undefined entry point(s) 'https' for frontend frontend-default-nginx-prj-d8-prj-nginx"
prj_traefik  | time="2020-04-21T10:20:10Z" level=info msg="Server configuration reloaded on :8080"
prj_traefik  | time="2020-04-21T10:20:10Z" level=info msg="Server configuration reloaded on :80"
prj_traefik  | time="2020-04-21T10:30:19Z" level=warning msg="A new release has been found: 2.2.0. Please consider updating."
prj_traefik  | time="2020-04-21T10:33:36Z" level=info msg="I have to go..."
prj_traefik  | time="2020-04-21T10:33:36Z" level=info msg="Stopping server gracefully"
prj_traefik  | time="2020-04-21T10:33:36Z" level=info msg="Server stopped"
prj_traefik  | time="2020-04-21T10:33:36Z" level=info msg="Shutting down"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="Using TOML configuration file /dev/null"
prj_traefik  | time="2020-04-21T10:33:57Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="Traefik version v1.7.24 built on 2020-03-25_04:34:11PM"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/v1.7/basics/#collected-data\n"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0002ee1a0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="Preparing server traefik &{Address::8080 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0002ee1e0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="Starting server on :80"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="Starting server on :8080"
prj_traefik  | time="2020-04-21T10:33:57Z" level=info msg="Starting provider *docker.Provider {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Trace\":false,\"TemplateVersion\":2,\"DebugLogGeneratedTemplate\":false,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":true,\"UseBindPortIP\":false,\"SwarmMode\":false,\"Network\":\"\",\"SwarmModeRefreshSeconds\":15}"
prj_traefik  | time="2020-04-21T10:33:58Z" level=error msg="Undefined entry point(s) 'https' for frontend frontend-default-nginx-prj-d8-prj-nginx"
prj_traefik  | time="2020-04-21T10:33:58Z" level=info msg="Server configuration reloaded on :8080"
prj_traefik  | time="2020-04-21T10:33:58Z" level=info msg="Server configuration reloaded on :80"
prj_nginx    | 2020/04/21 10:20:08 [notice] 1#1: using the "epoll" event method
prj_nginx    | 2020/04/21 10:20:08 [notice] 1#1: nginx/1.17.2
prj_nginx    | 2020/04/21 10:20:08 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0) 
prj_nginx    | 2020/04/21 10:20:08 [notice] 1#1: OS: Linux 4.19.76-linuxkit
prj_nginx    | 2020/04/21 10:20:08 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
prj_nginx    | 2020/04/21 10:20:08 [notice] 1#1: start worker processes
prj_nginx    | 2020/04/21 10:20:08 [notice] 1#1: start worker process 37
prj_nginx    | 2020/04/21 10:20:08 [notice] 1#1: start worker process 38
prj_nginx    | 2020/04/21 10:33:36 [notice] 1#1: signal 15 (SIGTERM) received, exiting
prj_nginx    | 2020/04/21 10:33:36 [notice] 37#37: exiting
prj_nginx    | 2020/04/21 10:33:36 [notice] 37#37: exit
prj_nginx    | 2020/04/21 10:33:36 [notice] 38#38: exiting
prj_nginx    | 2020/04/21 10:33:36 [notice] 38#38: exit
prj_nginx    | 2020/04/21 10:33:36 [notice] 1#1: signal 17 (SIGCHLD) received from 37
prj_nginx    | 2020/04/21 10:33:36 [notice] 1#1: worker process 37 exited with code 0
prj_nginx    | 2020/04/21 10:33:36 [notice] 1#1: signal 29 (SIGIO) received
prj_nginx    | 2020/04/21 10:33:36 [notice] 1#1: signal 17 (SIGCHLD) received from 38
prj_nginx    | 2020/04/21 10:33:36 [notice] 1#1: worker process 38 exited with code 0
prj_nginx    | 2020/04/21 10:33:36 [notice] 1#1: exit
prj_nginx    | 2020/04/21 10:33:57 [notice] 1#1: using the "epoll" event method
prj_nginx    | 2020/04/21 10:33:57 [notice] 1#1: nginx/1.17.2
prj_nginx    | 2020/04/21 10:33:57 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0) 
prj_nginx    | 2020/04/21 10:33:57 [notice] 1#1: OS: Linux 4.19.76-linuxkit
prj_nginx    | 2020/04/21 10:33:57 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
prj_nginx    | 2020/04/21 10:33:57 [notice] 1#1: start worker processes
prj_nginx    | 2020/04/21 10:33:57 [notice] 1#1: start worker process 37
prj_nginx    | 2020/04/21 10:33:57 [notice] 1#1: start worker process 38
prj_pma      | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.8. Set the 'ServerName' directive globally to suppress this message
prj_pma      | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.8. Set the 'ServerName' directive globally to suppress this message
prj_pma      | [Tue Apr 21 10:20:08.263358 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.4.5 configured -- resuming normal operations
prj_pma      | [Tue Apr 21 10:20:08.263447 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
prj_pma      | [Tue Apr 21 10:33:36.696753 2020] [mpm_prefork:notice] [pid 1] AH00170: caught SIGWINCH, shutting down gracefully
prj_pma      | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.9. Set the 'ServerName' directive globally to suppress this message
prj_pma      | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.9. Set the 'ServerName' directive globally to suppress this message
prj_pma      | [Tue Apr 21 10:33:57.709873 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.4.5 configured -- resuming normal operations
prj_pma      | [Tue Apr 21 10:33:57.710154 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
prj_portainer | 2020/04/21 10:20:09 server: Reverse tunnelling enabled
prj_portainer | 2020/04/21 10:20:09 server: Fingerprint 60:09:8f:15:19:b6:86:ce:70:52:95:7a:5a:3e:8a:6f
prj_portainer | 2020/04/21 10:20:09 server: Listening on 0.0.0.0:8000...
prj_portainer | 2020/04/21 10:20:09 Starting Portainer 1.23.2 on :9000
prj_portainer | 2020/04/21 10:20:09 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
prj_portainer | 2020/04/21 10:33:57 Templates already registered inside the database. Skipping template import.
prj_portainer | 2020/04/21 10:33:57 Instance already has defined endpoints. Skipping the endpoint defined via CLI.
prj_portainer | 2020/04/21 10:33:57 server: Reverse tunnelling enabled
prj_portainer | 2020/04/21 10:33:57 server: Fingerprint 60:09:8f:15:19:b6:86:ce:70:52:95:7a:5a:3e:8a:6f
prj_portainer | 2020/04/21 10:33:57 server: Listening on 0.0.0.0:8000...
prj_portainer | 2020/04/21 10:33:57 Starting Portainer 1.23.2 on :9000
prj_portainer | 2020/04/21 10:33:57 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
prj_solr     | Executing /opt/docker-solr/scripts/solr-precreate prj
prj_solr     | Executing /opt/docker-solr/scripts/precreate-core prj
prj_solr     | Core prj already exists
prj_solr     | Starting Solr 
prj_solr     | OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 1)
prj_solr     | OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 12)
prj_solr     | OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 12)
prj_solr     | 2020-04-21 10:20:11.359 INFO  (main) [   ] o.e.j.u.log Logging initialized @2642ms to org.eclipse.jetty.util.log.Slf4jLog
prj_solr     | 2020-04-21 10:20:12.056 INFO  (main) [   ] o.e.j.s.Server jetty-9.4.24.v20191120; built: 2019-11-20T21:37:49.771Z; git: 363d5f2df3a8a28de40604320230664b9c793c16; jvm 11.0.7+10
prj_solr     | 2020-04-21 10:20:12.188 INFO  (main) [   ] o.e.j.d.p.ScanningAppProvider Deployment monitor [file:///opt/solr-8.5.0/server/contexts/] at interval 0
prj_solr     | 2020-04-21 10:20:12.970 INFO  (main) [   ] o.e.j.w.StandardDescriptorProcessor NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
prj_solr     | 2020-04-21 10:20:12.994 INFO  (main) [   ] o.e.j.s.session DefaultSessionIdManager workerName=node0
prj_solr     | 2020-04-21 10:20:12.994 INFO  (main) [   ] o.e.j.s.session No SessionScavenger set, using defaults
prj_solr     | 2020-04-21 10:20:13.000 INFO  (main) [   ] o.e.j.s.session node0 Scavenging every 660000ms
prj_solr     | 2020-04-21 10:20:13.152 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter Using logger factory org.apache.logging.slf4j.Log4jLoggerFactory
prj_solr     | 2020-04-21 10:20:13.176 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter  ___      _       Welcome to Apache Solr™ version 8.5.0
prj_solr     | 2020-04-21 10:20:13.180 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _   Starting in standalone mode on port 8983
prj_solr     | 2020-04-21 10:20:13.181 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_|  Install dir: /opt/solr
prj_solr     | 2020-04-21 10:20:13.183 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter |___/\___/_|_|    Start time: 2020-04-21T10:20:13.182428Z
prj_solr     | 2020-04-21 10:20:13.319 INFO  (main) [   ] o.a.s.c.SolrResourceLoader Using system property solr.solr.home: /var/solr/data
prj_solr     | 2020-04-21 10:20:13.332 INFO  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from /var/solr/data/solr.xml
prj_solr     | 2020-04-21 10:20:13.710 INFO  (main) [   ] o.a.s.c.SolrXmlConfig MBean server found: com.sun.jmx.mbeanserver.JmxMBeanServer@282cb7c7, but no JMX reporters were configured - adding default JMX reporter.
prj_solr     | 2020-04-21 10:20:15.031 INFO  (main) [   ] o.a.s.h.c.HttpShardHandlerFactory Host whitelist initialized: WhitelistHostChecker [whitelistHosts=null, whitelistHostCheckingEnabled=true]
prj_solr     | 2020-04-21 10:20:15.306 WARN  (main) [   ] o.e.j.u.s.S.config Trusting all certificates configured for Client@332820f4[provider=null,keyStore=null,trustStore=null]
prj_solr     | 2020-04-21 10:20:15.307 WARN  (main) [   ] o.e.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@332820f4[provider=null,keyStore=null,trustStore=null]
prj_solr     | 2020-04-21 10:20:15.610 WARN  (main) [   ] o.e.j.u.s.S.config Trusting all certificates configured for Client@3e33d73e[provider=null,keyStore=null,trustStore=null]
prj_solr     | 2020-04-21 10:20:15.610 WARN  (main) [   ] o.e.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@3e33d73e[provider=null,keyStore=null,trustStore=null]
prj_solr     | 2020-04-21 10:20:15.642 WARN  (main) [   ] o.a.s.c.CoreContainer Not all security plugins configured!  authentication=disabled authorization=disabled.  Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external.  See https://s.apache.org/solrsecurity for more info
prj_solr     | 2020-04-21 10:20:15.941 INFO  (main) [   ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647 transient cores
prj_solr     | 2020-04-21 10:20:15.948 INFO  (main) [   ] o.a.s.h.a.MetricsHistoryHandler No .system collection, keeping metrics history in memory.
prj_solr     | 2020-04-21 10:20:16.103 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.node' (registry 'solr.node') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@282cb7c7
prj_solr     | 2020-04-21 10:20:16.105 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jvm' (registry 'solr.jvm') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@282cb7c7
prj_solr     | 2020-04-21 10:20:16.112 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jetty' (registry 'solr.jetty') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@282cb7c7
prj_solr     | 2020-04-21 10:20:16.206 INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /var/solr/data
prj_solr     | 2020-04-21 10:20:16.301 INFO  (main) [   ] o.e.j.s.h.ContextHandler Started o.e.j.w.WebAppContext@3a4b0e5d{/solr,file:///opt/solr-8.5.0/server/solr-webapp/webapp/,AVAILABLE}{/opt/solr-8.5.0/server/solr-webapp/webapp}
prj_solr     | 2020-04-21 10:20:16.319 INFO  (main) [   ] o.e.j.s.AbstractConnector Started ServerConnector@366ef90e{HTTP/1.1,[http/1.1, h2c]}{0.0.0.0:8983}
prj_solr     | 2020-04-21 10:20:16.319 INFO  (main) [   ] o.e.j.s.Server Started @7608ms
prj_solr     | 2020-04-21 10:33:36.748 INFO  (Thread-0) [   ] o.e.j.s.AbstractConnector Stopped ServerConnector@366ef90e{HTTP/1.1,[http/1.1, h2c]}{0.0.0.0:8983}
prj_solr     | 2020-04-21 10:33:36.749 INFO  (Thread-0) [   ] o.e.j.s.session node0 Stopped scavenging
prj_solr     | 2020-04-21 10:33:36.781 INFO  (Thread-0) [   ] o.a.s.c.CoreContainer Shutting down CoreContainer instance=1438178266
prj_solr     | 2020-04-21 10:33:36.829 INFO  (Thread-0) [   ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.node, tag=null
prj_solr     | 2020-04-21 10:33:36.837 INFO  (Thread-0) [   ] o.a.s.m.r.SolrJmxReporter Closing reporter [org.apache.solr.metrics.reporters.SolrJmxReporter@24eb65e3: rootName = null, domain = solr.node, service url = null, agent id = null] for registry solr.node / com.codahale.metrics.MetricRegistry@290732ff
prj_solr     | 2020-04-21 10:33:36.912 INFO  (Thread-0) [   ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.jvm, tag=null
prj_solr     | 2020-04-21 10:33:36.914 INFO  (Thread-0) [   ] o.a.s.m.r.SolrJmxReporter Closing reporter [org.apache.solr.metrics.reporters.SolrJmxReporter@410ae5ac: rootName = null, domain = solr.jvm, service url = null, agent id = null] for registry solr.jvm / com.codahale.metrics.MetricRegistry@1b0e7628
prj_solr     | 2020-04-21 10:33:36.926 INFO  (Thread-0) [   ] o.a.s.m.SolrMetricManager Closing metric reporters for registry=solr.jetty, tag=null
prj_solr     | 2020-04-21 10:33:36.927 INFO  (Thread-0) [   ] o.a.s.m.r.SolrJmxReporter Closing reporter [org.apache.solr.metrics.reporters.SolrJmxReporter@1a8df0b3: rootName = null, domain = solr.jetty, service url = null, agent id = null] for registry solr.jetty / com.codahale.metrics.MetricRegistry@373fade1
prj_solr     | 2020-04-21 10:33:37.031 INFO  (Thread-0) [   ] o.e.j.s.h.ContextHandler Stopped o.e.j.w.WebAppContext@3a4b0e5d{/solr,null,UNAVAILABLE}{/opt/solr-8.5.0/server/solr-webapp/webapp}
prj_solr     | Executing /opt/docker-solr/scripts/solr-precreate prj
prj_solr     | Executing /opt/docker-solr/scripts/precreate-core prj
prj_solr     | Core prj already exists
prj_solr     | Starting Solr 
prj_solr     | OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 1)
prj_solr     | OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 12)
prj_solr     | OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 12)
prj_solr     | 2020-04-21 10:34:00.124 INFO  (main) [   ] o.e.j.u.log Logging initialized @2168ms to org.eclipse.jetty.util.log.Slf4jLog
prj_solr     | 2020-04-21 10:34:00.519 INFO  (main) [   ] o.e.j.s.Server jetty-9.4.24.v20191120; built: 2019-11-20T21:37:49.771Z; git: 363d5f2df3a8a28de40604320230664b9c793c16; jvm 11.0.7+10
prj_solr     | 2020-04-21 10:34:00.652 INFO  (main) [   ] o.e.j.d.p.ScanningAppProvider Deployment monitor [file:///opt/solr-8.5.0/server/contexts/] at interval 0
prj_solr     | 2020-04-21 10:34:01.171 INFO  (main) [   ] o.e.j.w.StandardDescriptorProcessor NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
prj_solr     | 2020-04-21 10:34:01.192 INFO  (main) [   ] o.e.j.s.session DefaultSessionIdManager workerName=node0
prj_solr     | 2020-04-21 10:34:01.192 INFO  (main) [   ] o.e.j.s.session No SessionScavenger set, using defaults
prj_solr     | 2020-04-21 10:34:01.209 INFO  (main) [   ] o.e.j.s.session node0 Scavenging every 600000ms
prj_solr     | 2020-04-21 10:34:01.383 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter Using logger factory org.apache.logging.slf4j.Log4jLoggerFactory
prj_solr     | 2020-04-21 10:34:01.390 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter  ___      _       Welcome to Apache Solr™ version 8.5.0
prj_solr     | 2020-04-21 10:34:01.390 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _   Starting in standalone mode on port 8983
prj_solr     | 2020-04-21 10:34:01.390 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_|  Install dir: /opt/solr
prj_solr     | 2020-04-21 10:34:01.391 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter |___/\___/_|_|    Start time: 2020-04-21T10:34:01.391154Z
prj_solr     | 2020-04-21 10:34:01.491 INFO  (main) [   ] o.a.s.c.SolrResourceLoader Using system property solr.solr.home: /var/solr/data
prj_solr     | 2020-04-21 10:34:01.506 INFO  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from /var/solr/data/solr.xml
prj_solr     | 2020-04-21 10:34:01.636 INFO  (main) [   ] o.a.s.c.SolrXmlConfig MBean server found: com.sun.jmx.mbeanserver.JmxMBeanServer@282cb7c7, but no JMX reporters were configured - adding default JMX reporter.
prj_solr     | 2020-04-21 10:34:02.450 INFO  (main) [   ] o.a.s.h.c.HttpShardHandlerFactory Host whitelist initialized: WhitelistHostChecker [whitelistHosts=null, whitelistHostCheckingEnabled=true]
prj_solr     | 2020-04-21 10:34:02.733 WARN  (main) [   ] o.e.j.u.s.S.config Trusting all certificates configured for Client@43d38654[provider=null,keyStore=null,trustStore=null]
prj_solr     | 2020-04-21 10:34:02.734 WARN  (main) [   ] o.e.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@43d38654[provider=null,keyStore=null,trustStore=null]
prj_solr     | 2020-04-21 10:34:03.023 WARN  (main) [   ] o.e.j.u.s.S.config Trusting all certificates configured for Client@55e42449[provider=null,keyStore=null,trustStore=null]
prj_solr     | 2020-04-21 10:34:03.024 WARN  (main) [   ] o.e.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@55e42449[provider=null,keyStore=null,trustStore=null]
prj_solr     | 2020-04-21 10:34:03.061 WARN  (main) [   ] o.a.s.c.CoreContainer Not all security plugins configured!  authentication=disabled authorization=disabled.  Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external.  See https://s.apache.org/solrsecurity for more info
prj_solr     | 2020-04-21 10:34:03.413 INFO  (main) [   ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647 transient cores
prj_solr     | 2020-04-21 10:34:03.422 INFO  (main) [   ] o.a.s.h.a.MetricsHistoryHandler No .system collection, keeping metrics history in memory.
prj_solr     | 2020-04-21 10:34:03.589 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.node' (registry 'solr.node') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@282cb7c7
prj_solr     | 2020-04-21 10:34:03.594 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jvm' (registry 'solr.jvm') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@282cb7c7
prj_solr     | 2020-04-21 10:34:03.601 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jetty' (registry 'solr.jetty') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@282cb7c7
prj_solr     | 2020-04-21 10:34:03.717 INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /var/solr/data
prj_solr     | 2020-04-21 10:34:03.809 INFO  (main) [   ] o.e.j.s.h.ContextHandler Started o.e.j.w.WebAppContext@3d3f761a{/solr,file:///opt/solr-8.5.0/server/solr-webapp/webapp/,AVAILABLE}{/opt/solr-8.5.0/server/solr-webapp/webapp}
prj_solr     | 2020-04-21 10:34:03.827 INFO  (main) [   ] o.e.j.s.AbstractConnector Started ServerConnector@31e75d13{HTTP/1.1,[http/1.1, h2c]}{0.0.0.0:8983}
prj_solr     | 2020-04-21 10:34:03.827 INFO  (main) [   ] o.e.j.s.Server Started @5877ms

docker-sync.yml

version: "2"

syncs:
  docker-sync:
    src: './'
    sync_userid: '501'
    sync_excludes: ['.gitignore', '.git/', '.idea/', 'docroot/themes/custom/theme/html/node_modules/']
    sync_strategy: 'rsync'
    sync_host_ip: 'auto'
    sync_host_port: 10871
  docker-mariadb-sync:
    src: './local/mysql'
    sync_userid: '502'
    sync_strategy: 'rsync'
    sync_host_ip: 'auto'
    sync_host_port: 10872
#  docker-sync-another-project:
#    src: '/absolute/path/to/project/codebase'
#    sync_userid: '501'
#    sync_excludes: ['.gitignore', '.git/', '.idea/']

docker-compose.override.yml

version: "3"

services:

  mariadb:
    volumes:
      - docker-mariadb-sync:/var/lib/mysql

  php:
    environment:
      #      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S opensmtpd:25
      #      PHP_XHPROF: 1
      PHP_XDEBUG: 1
      PHP_ERROR_REPORTING: E_ALL
      PHP_XDEBUG_DEFAULT_ENABLE: 1
      PHP_XDEBUG_REMOTE_AUTOSTART: 1
      PHP_XDEBUG_REMOTE_CONNECT_BACK: 0
      PHP_IDE_CONFIG: "serverName=prj"
      XDEBUG_CONFIG: "idekey=PHPSTORM"
      PHP_XDEBUG_REMOTE_HOST: host.docker.internal
      PHP_XDEBUG_PROFILER_OUTPUT_DIR: /mnt/files/profiler
      PHP_XDEBUG_PROFILER_ENABLE: 0
      PHP_XDEBUG_TRACE_OUTPUT_DIR: /mnt/files/trace
      PHP_XDEBUG_TRACE_ENABLE_TRIGGER: 1
      PHP_XDEBUG_TRACE_FORMAT: 1
      PHP_XDEBUG_AUTO_TRACE : 0
      PHP_XDEBUG_SHOW_MEM_DELTA: 1
      PHP_XDEBUG_COLLECT_PARAMS: 0
      PHP_XDEBUG_COLLECT_RETURN: 0
    volumes:
      - docker-sync:$LOCAL_PATH

  nginx:
    volumes:
      - docker-sync:$LOCAL_PATH

  blackfire:
    image: blackfire/blackfire
    container_name: "${PROJECT_NAME}_blackfire"
    environment:
      BLACKFIRE_SERVER_ID: 42aebbf7-e34b-4e1c-b157-e000d6ac6eca
      BLACKFIRE_SERVER_TOKEN: b272ac175ad7ca7f0d3f0c6f9092b980300880c10b913413f88e4f5043e5d24d

  portainer:
    image: portainer/portainer
    container_name: "${PROJECT_NAME}_portainer"
    command: --no-auth -H unix:///var/run/docker.sock
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    labels:
      - 'traefik.backend=${PROJECT_NAME}_portainer'
      - 'traefik.port=9000'
      - 'traefik.frontend.rule=Host:portainer.${PROJECT_BASE_URL}'

  traefik:
    image: traefik:1.7
    container_name: "${PROJECT_NAME}_traefik"
    command: -c /dev/null --web --docker --logLevel=INFO
    ports:
      - '80:80'
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

volumes:
  docker-sync:
    external: true
  docker-mariadb-sync:
    external: true
@Sizuji Sizuji closed this as completed Apr 29, 2020
@Sizuji
Copy link
Author

Sizuji commented Apr 29, 2020

Didn't solve this issue. Moved from Docker For Mac to Docker-machine with parallels driver

@csandanov
Copy link
Member

Doesn't sound like a good solution, should work fine on docker for mac. Have you tried to prune volumes (docker system prune --volumes) and rerun? what happens if you run just mariadb container separately? Maybe try different versions.

docker run --rm -v /my/path:/var/lib/mysql wodby/mariadb 

MariaDB does have bind mount issues on macOS (disclosed in README of https://github.com/wodby/mariadb), described at #126 (comment). Maybe some workaround can be found in MariaDB/mariadb-docker#95 but none of them worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants