Giter Site home page Giter Site logo

schliflo / bedrock-docker Goto Github PK

View Code? Open in Web Editor NEW
117.0 13.0 23.0 39 KB

Development Setup for Bedrock Wordpress based on Docker

Home Page: https://bedrock-docker.schliflo.de

License: MIT License

Makefile 22.23% Shell 72.47% Dockerfile 5.29%
docker bedrock wordpress development bedrock-docker phpmyadmin dinghy mailhog

bedrock-docker's Introduction

This project is no longer maintained as we developed docker-mate as a successor, which supports more PHP based sytems other than Wordpress, local SSL and is overall more extensible and improved.
I'd highly suggest having a look at the docker-mate repo and the docs.

Bedrock Docker

Easy-to-use Docker setup for local development of Bedrock based Wordpress projects

please note that this is intended for local development - deploying it to production is probably a bad idea

Build Status

Features

  • Automated setup of new and existing Bedrock projects
  • Minimal configuration needed: Enter your project's name and you're good to go
  • Backup/Restore routines for the database
  • MailHog: Catch all outgoing mail for easy mail debugging
  • phpMyAdmin: Direct database access

Screenshot showing Bedrock Docker in action

Requirements

macOS

  • If you're using dinghy that's everything you need
  • For native docker installs you need to configure your system to resolve .docker domains to 127.0.0.1

Linux

  • docker & docker-compose
  • Configure your system to resolve .docker domains to 127.0.0.1

Usage

First time setup

  1. git clone https://github.com/schliflo/bedrock-docker.git your-project
  2. cd your-project
  3. Adjust PROJECT_NAME=bedrock in the Makefile to your projects name (use kebap-case as this is also used for your local development domain)
  4. Run make up and follow the instructions
  5. Your new project should start and you should be greeted with the local URLs where you can access it

Starting, stopping etc...

Run make up to start everything

Run make stop to stop everything

Run make restart to - you probably guessed it - restart everything

Run make rebuild to rebuild the project from the ground (current database will be lost if not backed up)

Using composer

Bedrock Docker abstracts composer into a container. You can use make composer like you would use composer standalone:

# install a wordpress plugin:
make composer require wpackagist-plugin/wp-mail-smtp

# update wordpress & plugins:
make composer update

Backup a database

Run make mysql-backup creates a compressed backup of your database in the backup folder. If you need a more fine grained backup you can use phpMyAdmin

Restoring a database

Use phpMyAdmin to restore the database or use make mysql-restore if you created a backup previously

Upgrading the project & development containers

Run make upgrade

Logging & information

Run make logs or make logs app for just the logs of all or specific containers

Run make state to see the current state of your containers

Run make urls to see the URLs of the project

Accessing containers

Run make ssh app or make logs web to access the specific containers

Deleting the containers

Run make destroy

Need help or missing a feature?

Open an issue over here

Feedback is generally appreciated ;)

bedrock-docker's People

Contributors

schliflo avatar xf- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bedrock-docker's Issues

rewrite or internal redirection cycle while internally redirecting to "/index.php"

I get this error in the web server log, when trying to access my newly set up WP site:

web_1 | 2018/07/02 20:26:45 [error] 9#9: *8 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 172.18.0.2, server: jppol-blog.docker, request: "GET /favicon.ico HTTP/1.1", host: "jppol-blog.docker", referrer: "http://jppol-blog.docker/"

I took a look in the config file for the site, and found a path which does not seem to exist on the server instance: root /var/www/html/web;

I'm not a wordpress, bedrock or docker expert at all, but this seems to be wrong?

$ make ssh web


/ # cat /etc/nginx/site.conf
server {
  listen [::]:80;
  listen 80;

  server_name jppol-blog.docker;

  access_log   /var/log/nginx/access.log main;
  error_log    /var/log/nginx/error.log;

  root  /var/www/html/web;
  index index.php index.htm index.html;
  add_header Fastcgi-Cache $upstream_cache_status;

  # Specify a charset
  charset utf-8;

  # Set the max body size equal to PHP's max POST size.
  client_max_body_size 25m;

  # https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#virtualbox
  sendfile off;

  # Prevent PHP scripts from being executed inside the uploads folder.
  location ~* /app/uploads/.*\.php$ {
    deny all;
  }

  location / {
    try_files $uri $uri/ /index.php?$args;
  }

  include h5bp/directive-only/extra-security.conf;
  include h5bp/directive-only/x-ua-compatible.conf;
  include h5bp/location/cross-domain-fonts.conf;
  include h5bp/location/protect-system-files.conf;

  location ~ \.php$ {
    try_files $uri /index.php;

    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
    fastcgi_param DOCUMENT_ROOT $realpath_root;
    fastcgi_pass app:9000;
  }
}

# Redirect some domains
server {
  listen [::]:80;
  listen 80;
  server_name www.jppol-blog.docker;

  location / {
    return 301 http://jppol-blog.docker$request_uri;
  }
}

/ # ls -l  /var/www/html/
total 960
-rw-r--r--    1 root     root         32459 Jul  2 20:15 CHANGELOG.md
-rw-r--r--    1 root     root          3188 Jul  2 20:15 CODE_OF_CONDUCT.md
-rw-r--r--    1 root     root          1068 Jul  2 20:15 LICENSE.md
-rw-r--r--    1 root     root          5767 Jul  2 20:15 README.md
drwxr-xr-x    7 root     root           224 Jul  2 20:15 app
-rw-r--r--    1 root     root          1231 Jul  2 20:15 composer.json
-rw-r--r--    1 root     root         55932 Jul  2 20:15 composer.lock
drwxr-xr-x    5 root     root           160 Jul  2 20:15 config
-rw-r--r--    1 root     root        560191 Jul  2 20:15 package-lock.json
-rw-r--r--    1 root     root          3200 Jul  2 20:15 package.json
-rw-r--r--    1 root     root          2239 Jul  2 20:15 phpcs.xml
drwxr-xr-x   10 root     root           320 Jul  2 20:15 resources
drwxr-xr-x   15 root     root           480 Jul  2 20:16 vendor
-rw-r--r--    1 root     root        300522 Jul  2 20:15 yarn.lock

Support SSL

Support SSL (self-singed or something like minica) and the advantages like http2 http push and other features. Also gets rid of annoying "Warning: You will send your password in a not secure form" messages.

If you want a little more realism in your development certificates, you can use minica to generate your own local root certificate, and issue end-entity (aka leaf) certificates signed by it. You would then import the root certificate rather than a self-signed end-entity certificate.
https://letsencrypt.org/docs/certificates-for-localhost/

nginx proxy supports - CERT_NAME=

mkcert works better, because you can set the output filename and the root can be installed in firefox and chrome (and some systems).

ERROR: unsatisfiable constraints:

Would be great if this would work.

Unfortunately it does not,

Followed the instructions but receiving this error after step:
Step 2/9 : RUN apk add --no-cache musl-dev go

Error:

ERROR: unsatisfiable constraints:
  musl-dev (missing):
    required by: world[musl-dev]
  binutils (missing):
    required by: go-1.8.4-r0[binutils]
                 go-1.8.4-r0[binutils]
  gcc (missing):
    required by: go-1.8.4-r0[gcc]
                 go-1.8.4-r0[gcc]
ERROR: Service 'app' failed to build: The command '/bin/sh -c apk add --no-cache musl-dev go' returned a non-zero code: 4
make: *** [update] Error 1

Possible typo

I was just checking out your code and noticed what looks like a typo.

You're checking twice for lower case "y" input:

if [ "$backupOK" = "Yes" ] || [ "$backupOK" = "yes" ] || [ "$backupOK" = "y" ] || [ "$backupOK" = "y" ]; then

Source — https://github.com/schliflo/bedrock-docker/blob/master/.utils/mysql-backup.sh#L11

Maybe convert to uppercase or lowercase first, like so:

backupOK=`echo "$backupOK" | /usr/bin/tr '[:lower:]' '[:upper:]'`
if [ "$backupOK" == "Y" ] || [ "$backupOK" == "YES" ]; then
backupOK=`echo "$backupOK" | /usr/bin/tr '[:upper:]' '[:lower:]'`
if [ "$backupOK" == "y" ] || [ "$backupOK" == "yes" ]; then

Issues with Proxy

For native docker installs you need to configure your system to resolve .docker domains to 127.0.0.1
Can you point me to a guide for this.

Dinghy has issues with latest few OSX versions and xhyve

./.utils/check-proxy.sh connect: Connection refused

I tried to get this working, but when I do make up I get the error message that's in the title. It fails on line 4 and 7. When I go to the URL that's been generated, I get a Dinghy page.

I'm on Ubuntu and this is the first time I'm trying out Docker. I don't really get the following line in the README: Configure your system to resolve .docker domains to 127.0.0.1. I added the projectname.docker URL to /etc/hosts. Did I interpret the instruction correctly?

It also says that the PROJECT_NAME variable hasn't been set, even though I did set it in the Makefile.

Tester(s) wanted

Like @schliflo wrote in other issue, we work on restructuring the project and add some features and allow a lot of optional/project specific options. We plan to release it after all our ideas are included and it works on Linux and OSX (bash scripts differ in syntax). We already use it in our daily work & projects.

To release a better working software some tests and feedback would be great.
-> Write a comment if you interested. A little bit of knowledge about development/docker would be great.

Will be some Wordpress Bedrock functionality removed?
NO, optional/dynamic configs allow to add even more CMS & project specific commands and tools and also allows to extend them without touching the released files.

Changelist (so far):

  • Optional containers
    • CI, Composer
    • (Optional) per system/cms
    • (Optional) per project in project git - add NodeJs Container or a Elastic for development
  • Makefile like containers
    • (Optional) per system/cms - make wp for cli
    • (Optional) per project in project git - scss/less compieler
  • Default bash and fallback sh for make ssh
  • env file for nearly everything
  • Change php version or php vs php-dev container
  • Hooks to load projects with specific settings
  • SSL (currently required) uses mkcert to generate a root and included in wanted browsers. afterwards it generates certs
  • Git script after install (add git y/n push it remote (optional as well))
    ....

WordPress debug.log

My WP_ENV is defined as development on docker-compose.yml and I added Config::define('WP_DEBUG_LOG', true); to config/environments/development.php on my bedrock, but the debug.log is not being generated, how I can enable it?

Still unable to get this working

I'm on my work PC right now and still have issues gettting this to work. The proxy server is running, but the WP site and the mail and PHPmyadmin services just point to the Dinghy proxy server welcome page. If I run make logs I noticed that Composer exited with code 0, but I don't know if this is of any significance.

This is the output of docker-composer logs:

Attaching to qdn-wp_test_1, qdn-wp_web_1, qdn-wp_phpmyadmin_1, qdn-wp_app_1, qdn-wp_db_1, qdn-wp_composer_1, qdn-wp_mail_1
�[33mweb_1         |�[0m 2018/11/16 12:14:08 [emerg] 1#1: invalid server name or wildcard "www..docker" on [::]:80
�[33mweb_1         |�[0m nginx: [emerg] invalid server name or wildcard "www..docker" on [::]:80
�[36mtest_1        |�[0m 2018/11/16 12:14:13 [emerg] 1#1: open() "/etc/nginx/site.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:160
�[36mtest_1        |�[0m nginx: [emerg] open() "/etc/nginx/site.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:160
�[32mphpmyadmin_1  |�[0m /usr/lib/python2.7/site-packages/supervisor/options.py:298: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
�[32mphpmyadmin_1  |�[0m   'Supervisord is running as root and it is searching '
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:05,933 CRIT Supervisor running as root (no user in config file)
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:05,933 INFO Included extra file "/etc/supervisor.d/nginx.ini" during parsing
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:05,933 INFO Included extra file "/etc/supervisor.d/php.ini" during parsing
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:05,942 INFO RPC interface 'supervisor' initialized
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:05,942 CRIT Server 'unix_http_server' running without any HTTP authentication checking
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:05,942 INFO supervisord started with pid 1
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:06,946 INFO spawned: 'php-fpm' with pid 23
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:06,949 INFO spawned: 'nginx' with pid 24
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:08,007 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
�[32mphpmyadmin_1  |�[0m 2018-11-16 12:14:08,007 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
�[31mdb_1          |�[0m Initializing database
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
�[31mdb_1          |�[0m To do so, start the server, then issue the following commands:
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m '/usr/bin/mysqladmin' -u root password 'new-password'
�[31mdb_1          |�[0m '/usr/bin/mysqladmin' -u root -h  password 'new-password'
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m Alternatively you can run:
�[31mdb_1          |�[0m '/usr/bin/mysql_secure_installation'
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m which will also give you the option of removing the test
�[31mdb_1          |�[0m databases and anonymous user created by default.  This is
�[31mdb_1          |�[0m strongly recommended for production servers.
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m See the MariaDB Knowledgebase at http://mariadb.com/kb or the
�[31mdb_1          |�[0m MySQL manual for more instructions.
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m Please report any problems at http://mariadb.org/jira
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m The latest information about MariaDB is available at http://mariadb.org/.
�[31mdb_1          |�[0m You can find additional information about the MySQL part at:
�[31mdb_1          |�[0m http://dev.mysql.com
�[31mdb_1          |�[0m Consider joining MariaDB's strong and vibrant community:
�[31mdb_1          |�[0m https://mariadb.org/get-involved/
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m Database initialized
�[31mdb_1          |�[0m MySQL init process in progress...
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] mysqld (mysqld 10.3.10-MariaDB-1:10.3.10+maria~bionic) starting as process 105 ...
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: Using Linux native AIO
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: Uses event mutexes
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: Number of pools: 1
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: Using SSE2 crc32 instructions
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: Completed initialization of buffer pool
�[31mdb_1          |�[0m 2018-11-16 12:14:13 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] InnoDB: Creating shared tablespace for temporary tables
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] InnoDB: Waiting for purge to start
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] InnoDB: 10.3.10 started; log sequence number 1631012; transaction id 21
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] Plugin 'FEEDBACK' is disabled.
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Warning] 'user' entry 'root@d4e2b72b9fa9' ignored in --skip-name-resolve mode.
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Warning] 'user' entry '@d4e2b72b9fa9' ignored in --skip-name-resolve mode.
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Warning] 'proxies_priv' entry '@% root@d4e2b72b9fa9' ignored in --skip-name-resolve mode.
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] Reading of all Master_info entries succeded
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] Added new Master_info '' to hash table
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] mysqld: ready for connections.
�[31mdb_1          |�[0m Version: '10.3.10-MariaDB-1:10.3.10+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
�[31mdb_1          |�[0m 2018-11-16 12:14:14 0 [Note] InnoDB: Buffer pool(s) load completed at 181116 12:14:14
�[31mdb_1          |�[0m Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
�[31mdb_1          |�[0m 2018-11-16 12:14:17 10 [Warning] 'proxies_priv' entry '@% root@d4e2b72b9fa9' ignored in --skip-name-resolve mode.
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m 2018-11-16 12:14:17 0 [Note] mysqld (initiated by: unknown): Normal shutdown
�[31mdb_1          |�[0m 2018-11-16 12:14:17 0 [Note] Event Scheduler: Purging the queue. 0 events
�[31mdb_1          |�[0m 2018-11-16 12:14:17 0 [Note] InnoDB: FTS optimize thread exiting.
�[31mdb_1          |�[0m 2018-11-16 12:14:17 0 [Note] InnoDB: Starting shutdown...
�[31mdb_1          |�[0m 2018-11-16 12:14:17 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
�[31mdb_1          |�[0m 2018-11-16 12:14:17 0 [Note] InnoDB: Buffer pool(s) dump completed at 181116 12:14:17
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Shutdown completed; log sequence number 1631021; transaction id 24
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] mysqld: Shutdown complete
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m MySQL init process done. Ready for start up.
�[31mdb_1          |�[0m 
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] mysqld (mysqld 10.3.10-MariaDB-1:10.3.10+maria~bionic) starting as process 1 ...
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Using Linux native AIO
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Uses event mutexes
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Number of pools: 1
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Using SSE2 crc32 instructions
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Completed initialization of buffer pool
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Creating shared tablespace for temporary tables
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: 10.3.10 started; log sequence number 1631021; transaction id 21
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] Plugin 'FEEDBACK' is disabled.
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] InnoDB: Buffer pool(s) load completed at 181116 12:14:18
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] Server socket created on IP: '::'.
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Warning] 'proxies_priv' entry '@% root@d4e2b72b9fa9' ignored in --skip-name-resolve mode.
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] Reading of all Master_info entries succeded
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] Added new Master_info '' to hash table
�[31mdb_1          |�[0m 2018-11-16 12:14:18 0 [Note] mysqld: ready for connections.
�[31mdb_1          |�[0m Version: '10.3.10-MariaDB-1:10.3.10+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
�[34mcomposer_1    |�[0m    ______
�[34mcomposer_1    |�[0m   / ____/___  ____ ___  ____  ____  ________  _____
�[34mcomposer_1    |�[0m  / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
�[34mcomposer_1    |�[0m / /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
�[34mcomposer_1    |�[0m \____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
�[34mcomposer_1    |�[0m                     /_/
�[34mcomposer_1    |�[0m Composer version 1.7.3 2018-11-01 10:05:06
�[34mcomposer_1    |�[0m 
�[34mcomposer_1    |�[0m Usage:
�[34mcomposer_1    |�[0m   command [options] [arguments]
�[34mcomposer_1    |�[0m 
�[34mcomposer_1    |�[0m Options:
�[34mcomposer_1    |�[0m   -h, --help                     Display this help message
�[34mcomposer_1    |�[0m   -q, --quiet                    Do not output any message
�[34mcomposer_1    |�[0m   -V, --version                  Display this application version
�[34mcomposer_1    |�[0m       --ansi                     Force ANSI output
�[34mcomposer_1    |�[0m       --no-ansi                  Disable ANSI output
�[34mcomposer_1    |�[0m   -n, --no-interaction           Do not ask any interactive question
�[34mcomposer_1    |�[0m       --profile                  Display timing and memory usage information
�[34mcomposer_1    |�[0m       --no-plugins               Whether to disable plugins.
�[34mcomposer_1    |�[0m   -d, --working-dir=WORKING-DIR  If specified, use the given directory as working directory.
�[34mcomposer_1    |�[0m   -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
�[34mcomposer_1    |�[0m 
�[34mcomposer_1    |�[0m Available commands:
�[34mcomposer_1    |�[0m   about                Shows the short information about Composer.
�[34mcomposer_1    |�[0m   archive              Creates an archive of this composer package.
�[34mcomposer_1    |�[0m   browse               Opens the package's repository URL or homepage in your browser.
�[34mcomposer_1    |�[0m   check-platform-reqs  Check that platform requirements are satisfied.
�[34mcomposer_1    |�[0m   clear-cache          Clears composer's internal package cache.
�[34mcomposer_1    |�[0m   clearcache           Clears composer's internal package cache.
�[34mcomposer_1    |�[0m   config               Sets config options.
�[34mcomposer_1    |�[0m   create-project       Creates new project from a package into given directory.
�[34mcomposer_1    |�[0m   depends              Shows which packages cause the given package to be installed.
�[34mcomposer_1    |�[0m   deploy               Runs the deploy script as defined in composer.json.
�[34mcomposer_1    |�[0m   diagnose             Diagnoses the system to identify common errors.
�[34mcomposer_1    |�[0m   dump-autoload        Dumps the autoloader.
�[34mcomposer_1    |�[0m   dumpautoload         Dumps the autoloader.
�[34mcomposer_1    |�[0m   exec                 Executes a vendored binary/script.
�[34mcomposer_1    |�[0m   global               Allows running commands in the global composer dir ($COMPOSER_HOME).
�[34mcomposer_1    |�[0m   help                 Displays help for a command
�[34mcomposer_1    |�[0m   home                 Opens the package's repository URL or homepage in your browser.
�[34mcomposer_1    |�[0m   i                    Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
�[34mcomposer_1    |�[0m   info                 Shows information about packages.
�[34mcomposer_1    |�[0m   init                 Creates a basic composer.json file in current directory.
�[34mcomposer_1    |�[0m   install              Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
�[34mcomposer_1    |�[0m   licenses             Shows information about licenses of dependencies.
�[34mcomposer_1    |�[0m   list                 Lists commands
�[34mcomposer_1    |�[0m   outdated             Shows a list of installed packages that have updates available, including their latest version.
�[34mcomposer_1    |�[0m   prohibits            Shows which packages prevent the given package from being installed.
�[34mcomposer_1    |�[0m   remove               Removes a package from the require or require-dev.
�[34mcomposer_1    |�[0m   require              Adds required packages to your composer.json and installs them.
�[34mcomposer_1    |�[0m   run-script           Runs the scripts defined in composer.json.
�[34mcomposer_1    |�[0m   search               Searches for packages.
�[34mcomposer_1    |�[0m   self-update          Updates composer.phar to the latest version.
�[34mcomposer_1    |�[0m   selfupdate           Updates composer.phar to the latest version.
�[34mcomposer_1    |�[0m   show                 Shows information about packages.
�[34mcomposer_1    |�[0m   status               Shows a list of locally modified packages, for packages installed from source.
�[34mcomposer_1    |�[0m   suggests             Shows package suggestions.
�[34mcomposer_1    |�[0m   test                 Runs the test script as defined in composer.json.
�[34mcomposer_1    |�[0m   u                    Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
�[34mcomposer_1    |�[0m   update               Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
�[34mcomposer_1    |�[0m   upgrade              Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
�[34mcomposer_1    |�[0m   validate             Validates a composer.json and composer.lock.
�[34mcomposer_1    |�[0m   why                  Shows which packages cause the given package to be installed.
�[34mcomposer_1    |�[0m   why-not              Shows which packages prevent the given package from being installed.
�[36;1mmail_1        |�[0m 2018/11/16 12:13:57 Using in-memory storage
�[36;1mmail_1        |�[0m 2018/11/16 12:13:57 [SMTP] Binding to address: 0.0.0.0:1025
�[36;1mmail_1        |�[0m 2018/11/16 12:13:57 Serving under http://0.0.0.0:8025/
�[36;1mmail_1        |�[0m [HTTP] Binding to address: 0.0.0.0:8025
�[36;1mmail_1        |�[0m Creating API v1 with WebPath: 
�[36;1mmail_1        |�[0m Creating API v2 with WebPath: 
�[36;1mmail_1        |�[0m [APIv1] KEEPALIVE /api/v1/events
�[36;1mmail_1        |�[0m [APIv1] KEEPALIVE /api/v1/events
�[36;1mmail_1        |�[0m [APIv1] KEEPALIVE /api/v1/events
�[36;1mmail_1        |�[0m [APIv1] KEEPALIVE /api/v1/events
�[36;1mmail_1        |�[0m [APIv1] KEEPALIVE /api/v1/events
�[36;1mmail_1        |�[0m [APIv1] KEEPALIVE /api/v1/events
�[36;1mmail_1        |�[0m [APIv1] KEEPALIVE /api/v1/events
�[36;1mmail_1        |�[0m [APIv1] KEEPALIVE /api/v1/events
�[35mapp_1         |�[0m -> Executing /opt/docker/provision/entrypoint.d/05-permissions.sh
�[35mapp_1         |�[0m -> Executing /opt/docker/provision/entrypoint.d/20-php-fpm.sh
�[35mapp_1         |�[0m -> Executing /opt/docker/provision/entrypoint.d/20-php.sh
�[35mapp_1         |�[0m -> Executing /opt/docker/bin/service.d/supervisor.d//10-init.sh
�[35mapp_1         |�[0m 2018-11-16 12:14:05,550 INFO Included extra file "/opt/docker/etc/supervisor.d/cron.conf" during parsing
�[35mapp_1         |�[0m 2018-11-16 12:14:05,550 INFO Included extra file "/opt/docker/etc/supervisor.d/dnsmasq.conf" during parsing
�[35mapp_1         |�[0m 2018-11-16 12:14:05,550 INFO Included extra file "/opt/docker/etc/supervisor.d/php-fpm.conf" during parsing
�[35mapp_1         |�[0m 2018-11-16 12:14:05,550 INFO Included extra file "/opt/docker/etc/supervisor.d/postfix.conf" during parsing
�[35mapp_1         |�[0m 2018-11-16 12:14:05,550 INFO Included extra file "/opt/docker/etc/supervisor.d/ssh.conf" during parsing
�[35mapp_1         |�[0m 2018-11-16 12:14:05,550 INFO Included extra file "/opt/docker/etc/supervisor.d/syslog.conf" during parsing
�[35mapp_1         |�[0m 2018-11-16 12:14:05,550 INFO Set uid to user 0 succeeded
�[35mapp_1         |�[0m 2018-11-16 12:14:05,558 INFO RPC interface 'supervisor' initialized
�[35mapp_1         |�[0m 2018-11-16 12:14:05,558 INFO supervisord started with pid 1
�[35mapp_1         |�[0m 2018-11-16 12:14:06,562 INFO spawned: 'syslogd' with pid 40
�[35mapp_1         |�[0m 2018-11-16 12:14:06,565 INFO spawned: 'php-fpmd' with pid 41
�[35mapp_1         |�[0m 2018-11-16 12:14:06,566 INFO spawned: 'crond' with pid 42
�[35mapp_1         |�[0m -> Executing /opt/docker/bin/service.d/syslog-ng.d//10-init.sh
�[35mapp_1         |�[0m 2018-11-16 12:14:06,569 INFO success: php-fpmd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
�[35mapp_1         |�[0m 2018-11-16 12:14:06,569 INFO success: crond entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
�[35mapp_1         |�[0m -> Executing /opt/docker/bin/service.d/php-fpm.d//10-init.sh
�[35mapp_1         |�[0m Setting php-fpm user to application
�[35mapp_1         |�[0m -> Executing /opt/docker/bin/service.d/cron.d//10-init.sh
�[35mapp_1         |�[0m [SYSLOG] syslog-ng[40]: syslog-ng starting up; version='3.13.2'
�[35mapp_1         |�[0m [16-Nov-2018 12:14:06] NOTICE: fpm is running, pid 41
�[35mapp_1         |�[0m [16-Nov-2018 12:14:06] NOTICE: ready to handle connections
�[35mapp_1         |�[0m 2018-11-16 12:14:07,733 INFO success: syslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.