ERR_CONNECTION_REFUSED. Failed to connect to localhost port 80
cawalle opened this issue · 5 comments
Preface
Hi guys,
I am getting an ERR_CONNECTION_REFUSED error, when trying to access http://wp.docker.localhost/. I think it has or might have to do with the settings and permissions on my machine, but can't figure out, if that actually is the case and if so how to solve it.
I trial and error-ed different settings with docker-sync and user-guided caching, but none worked. (Only activating docker-sync made phpmyadmin accessible, but threw a nginx 403 error on the localhost site. Activating user-guided caching resolved the nginx permission issue, but resulted in the ERR_CONNECTION_REFUSED.) Since that error persists, I guess/ed that the main issue lies somewhere else, and tried figuring out where that was, but ...
after hour-long google searches, looking for the needle in the haystack, which felt more like digging through a manure heap, I feel like it makes more sense asking you guys for at least some kind of guidance into the right direction, or (of course that'd be even more amazing) some kind of solution.
Looking forward to your advice!
Issue Description
Inserting curl -I -L localhost
into the terminal returns:
curl: (7) Failed to connect to localhost port 80: Connection refused.
Debug Details
Codebase
Mounted codebase
Host OS
macOS Mojave 10.14.5
Docker info output
Containers: 8
Running: 8
Paused: 0
Stopped: 0
Images: 61
Server Version: 18.09.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host 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: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 09c8266bf2fcf9519a651b04ae54c967b9ab86ec
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.125-linuxkit
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.952GiB
Name: linuxkit-025000000001
ID: PDWW:VU2G:KVAU:J6PF:JHZH:QSPE:LKHW:KVFH:QAP7:TRG3:33VR:T4NM
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 113
Goroutines: 167
System Time: 2019-05-27T22:37:14.834332618Z
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
Docker compose file
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:
- ./mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
# - /path/to/mariadb/data/on/host:/var/lib/mysql # I want to manage volumes manually.
php:
image: wodby/wordpress-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
PHP_FPM_USER: wodby
PHP_FPM_GROUP: wodby
## Read instructions at https://wodby.com/stacks/wordpress/docs/local/xdebug/
# PHP_XDEBUG: 1
# PHP_XDEBUG_DEFAULT_ENABLE: 1
# PHP_XDEBUG_REMOTE_CONNECT_BACK: 0
# PHP_IDE_CONFIG: serverName=my-ide
# PHP_XDEBUG_REMOTE_HOST: 172.17.0.1 # Linux
# PHP_XDEBUG_REMOTE_HOST: 10.254.254.254 # macOS
# PHP_XDEBUG_REMOTE_HOST: 10.0.75.1 # Windows
volumes:
- ./:/var/www/html
## For macOS users (https://wodby.com/stacks/wordpress/docs/local/docker-for-mac/)
- ./:/var/www/html:cached # User-guided caching
- docker-sync:/var/www/html # Docker-sync
## For XHProf and Xdebug profiler traces
# - files:/mnt/files
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_VHOST_PRESET: wordpress
#NGINX_SERVER_ROOT: /var/www/html/subdir
volumes:
- ./:/var/www/html
# Options for macOS users (https://wodby.com/stacks/wordpress/docs/local/docker-for-mac/)
- ./:/var/www/html:cached # User-guided caching
- docker-sync:/var/www/html # Docker-sync
labels:
- 'traefik.backend=${PROJECT_NAME}_nginx'
- 'traefik.port=80'
- 'traefik.frontend.rule=Host:${PROJECT_BASE_URL}'
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}'
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
container_name: "${PROJECT_NAME}_traefik"
command: -c /dev/null --web --docker --logLevel=INFO
ports:
- '8000:80'
# - '8080:8080' # Dashboard
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
# Docker-sync for macOS users
docker-sync:
external: true
## For Xdebug profiler
# files:
Logs output
Attaching to my_wordpress_project_nginx, my_wordpress_project_pma, my_wordpress_project_php, my_wordpress_project_mailhog, my_wordpress_project_portainer, my_wordpress_project_traefik, my_wordpress_project_mariadb
my_wordpress_project_pma | phpMyAdmin not found in /var/www/html - copying now...
my_wordpress_project_pma | Complete! phpMyAdmin has been successfully copied to /var/www/html
my_wordpress_project_pma | /usr/lib/python2.7/site-packages/supervisor/options.py:461: 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.
my_wordpress_project_pma | 'Supervisord is running as root and it is searching '
my_wordpress_project_pma | 2019-05-27 23:08:18,997 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
my_wordpress_project_pma | 2019-05-27 23:08:18,997 INFO Included extra file "/etc/supervisor.d/nginx.ini" during parsing
my_wordpress_project_pma | 2019-05-27 23:08:18,997 INFO Included extra file "/etc/supervisor.d/php.ini" during parsing
my_wordpress_project_pma | 2019-05-27 23:08:19,003 INFO RPC interface 'supervisor' initialized
my_wordpress_project_pma | 2019-05-27 23:08:19,004 CRIT Server 'unix_http_server' running without any HTTP authentication checking
my_wordpress_project_pma | 2019-05-27 23:08:19,004 INFO supervisord started with pid 1
my_wordpress_project_pma | 2019-05-27 23:08:20,007 INFO spawned: 'php-fpm' with pid 21
my_wordpress_project_pma | 2019-05-27 23:08:20,009 INFO spawned: 'nginx' with pid 22
my_wordpress_project_pma | [27-May-2019 23:08:20] NOTICE: fpm is running, pid 21
my_wordpress_project_pma | [27-May-2019 23:08:20] NOTICE: ready to handle connections
my_wordpress_project_pma | 2019-05-27 23:08:21,040 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
my_wordpress_project_pma | 2019-05-27 23:08:21,040 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
my_wordpress_project_portainer | 2019/05/27 21:02:18 Starting Portainer 1.20.2 on :9000
my_wordpress_project_portainer | 2019/05/27 22:30:12 Templates already registered inside the database. Skipping template import.
my_wordpress_project_portainer | 2019/05/27 22:30:12 Instance already has defined endpoints. Skipping the endpoint defined via CLI.
my_wordpress_project_portainer | 2019/05/27 22:30:12 Starting Portainer 1.20.2 on :9000
my_wordpress_project_portainer | 2019/05/27 22:35:23 Templates already registered inside the database. Skipping template import.
my_wordpress_project_portainer | 2019/05/27 22:35:23 Instance already has defined endpoints. Skipping the endpoint defined via CLI.
my_wordpress_project_portainer | 2019/05/27 22:35:23 Starting Portainer 1.20.2 on :9000
my_wordpress_project_mailhog | 2019/05/27 22:19:35 Using in-memory storage
my_wordpress_project_mailhog | 2019/05/27 22:19:35 [SMTP] Binding to address: 0.0.0.0:1025
my_wordpress_project_mailhog | 2019/05/27 22:19:35 Serving under http://0.0.0.0:8025/
my_wordpress_project_mailhog | [HTTP] Binding to address: 0.0.0.0:8025
my_wordpress_project_mailhog | Creating API v1 with WebPath:
my_wordpress_project_mailhog | Creating API v2 with WebPath:
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | 2019/05/27 22:30:11 Using in-memory storage
my_wordpress_project_mailhog | 2019/05/27 22:30:11 [SMTP] Binding to address: 0.0.0.0:1025
my_wordpress_project_mailhog | 2019/05/27 22:30:11 Serving under http://0.0.0.0:8025/
my_wordpress_project_mailhog | [HTTP] Binding to address: 0.0.0.0:8025
my_wordpress_project_mailhog | Creating API v1 with WebPath:
my_wordpress_project_mailhog | Creating API v2 with WebPath:
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [HTTP] Binding to address: 0.0.0.0:8025
my_wordpress_project_mailhog | Creating API v1 with WebPath:
my_wordpress_project_mailhog | Creating API v2 with WebPath:
my_wordpress_project_mailhog | 2019/05/27 22:35:22 Using in-memory storage
my_wordpress_project_mailhog | 2019/05/27 22:35:22 [SMTP] Binding to address: 0.0.0.0:1025
my_wordpress_project_mailhog | 2019/05/27 22:35:22 Serving under http://0.0.0.0:8025/
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Using TOML configuration file /dev/null"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Traefik version v1.7.11 built on 2019-04-26_08:42:33AM"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/basics/#collected-data\n"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Preparing server traefik &{Address::8080 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0002d3a60} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0002d3a00} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Starting server on :8080"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Starting server on :80"
my_wordpress_project_traefik | time="2019-05-27T21:02: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}"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T21:02:08Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T21:02:12Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T21:02:12Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T21:14:49Z" level=info msg="Skipping same configuration for provider docker"
my_wordpress_project_traefik | time="2019-05-27T21:14:50Z" level=info msg="Skipping same configuration for provider docker"
my_wordpress_project_traefik | time="2019-05-27T21:54:42Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T21:54:42Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T21:55:28Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T21:55:28Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:17:45Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:17:45Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:17:47Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:17:47Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:17:49Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:17:49Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:17:51Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:17:51Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:19:34Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:19:34Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:19:36Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:19:36Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:19:38Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:19:38Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:20:37Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:20:37Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:20:39Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:20:39Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:20:55Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:20:55Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:20:57Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:20:57Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:20:59Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:20:59Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:21:41Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:21:41Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:21:43Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:21:43Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:21:45Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:21:45Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:25:22Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:25:22Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:25:24Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:25:24Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:25:26Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:25:26Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:26:16Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:26:16Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:26:18Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:26:18Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:26:20Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:26:20Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:30:08Z" level=info msg="I have to go..."
my_wordpress_project_traefik | time="2019-05-27T22:30:08Z" level=info msg="Stopping server gracefully"
my_wordpress_project_traefik | time="2019-05-27T22:30:08Z" level=info msg="Server stopped"
my_wordpress_project_traefik | time="2019-05-27T22:30:08Z" level=info msg="Shutting down"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Using TOML configuration file /dev/null"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Traefik version v1.7.11 built on 2019-04-26_08:42:33AM"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/basics/#collected-data\n"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0000122e0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Preparing server traefik &{Address::8080 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc000012320} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Starting server on :80"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Starting server on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" 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}"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:30:12Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:30:14Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:30:14Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:35:06Z" level=info msg="I have to go..."
my_wordpress_project_traefik | time="2019-05-27T22:35:06Z" level=info msg="Stopping server gracefully"
my_wordpress_project_traefik | time="2019-05-27T22:35:06Z" level=info msg="Server stopped"
my_wordpress_project_traefik | time="2019-05-27T22:35:06Z" level=info msg="Shutting down"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Using TOML configuration file /dev/null"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Traefik version v1.7.11 built on 2019-04-26_08:42:33AM"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/basics/#collected-data\n"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Preparing server traefik &{Address::8080 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc00035b920} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc00035b8c0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Starting server on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Starting server on :80"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" 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}"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:35:23Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:35:25Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:35:25Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:36:16Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:36:16Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:36:18Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:36:18Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:36:20Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T22:36:20Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:36:22Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T22:36:22Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T23:08:14Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T23:08:14Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T23:08:14Z" level=info msg="Skipping same configuration for provider docker"
my_wordpress_project_traefik | time="2019-05-27T23:08:16Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T23:08:16Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T23:08:18Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T23:08:18Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_traefik | time="2019-05-27T23:08:20Z" level=info msg="Server configuration reloaded on :8080"
my_wordpress_project_traefik | time="2019-05-27T23:08:20Z" level=info msg="Server configuration reloaded on :80"
my_wordpress_project_nginx | shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | 2019/05/27 23:08:19 [notice] 1#1: using the "epoll" event method
my_wordpress_project_nginx | 2019/05/27 23:08:19 [notice] 1#1: nginx/1.15.12
my_wordpress_project_nginx | 2019/05/27 23:08:19 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0)
my_wordpress_project_nginx | 2019/05/27 23:08:19 [notice] 1#1: OS: Linux 4.9.125-linuxkit
my_wordpress_project_nginx | 2019/05/27 23:08:19 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
my_wordpress_project_nginx | 2019/05/27 23:08:19 [notice] 1#1: start worker processes
my_wordpress_project_nginx | 2019/05/27 23:08:19 [notice] 1#1: start worker process 37
my_wordpress_project_nginx | 2019/05/27 23:08:19 [notice] 1#1: start worker process 38
my_wordpress_project_mariadb | Initializing database
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] /usr/bin/mysqld (mysqld 10.1.40-MariaDB) starting as process 59 ...
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: The InnoDB memory heap is disabled
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Using Linux native AIO
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Using SSE crc32 instructions
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Completed initialization of buffer pool
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Setting file ./ibdata1 size to 10 MB
my_wordpress_project_mariadb | 2019-05-27 21:02:08 139868457671560 [Note] InnoDB: Setting log file ./ib_logfile101 size to 128 MB
my_wordpress_project_mariadb | 2019-05-27 21:02:12 139868457671560 [Note] InnoDB: Setting log file ./ib_logfile1 size to 128 MB
my_wordpress_project_mariadb | 2019-05-27 21:02:16 139868457671560 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
my_wordpress_project_mariadb | 2019-05-27 21:02:16 139868457671560 [Warning] InnoDB: New log files created, LSN=45781
my_wordpress_project_mariadb | 2019-05-27 21:02:16 139868457671560 [Note] InnoDB: Doublewrite buffer not found: creating new
my_wordpress_project_mariadb | 2019-05-27 21:02:16 139868457671560 [Note] InnoDB: Doublewrite buffer created
my_wordpress_project_mariadb | 2019-05-27 21:02:18 139868457671560 [Note] InnoDB: 128 rollback segment(s) are active.
my_wordpress_project_mariadb | 2019-05-27 21:02:18 139868457671560 [Warning] InnoDB: Creating foreign key constraint system tables.
my_wordpress_project_mariadb | 2019-05-27 21:02:18 139868457671560 [Note] InnoDB: Foreign key constraint system tables created
my_wordpress_project_mariadb | 2019-05-27 21:02:18 139868457671560 [Note] InnoDB: Creating tablespace and datafile system tables.
my_wordpress_project_mariadb | 2019-05-27 21:02:18 139868457671560 [Note] InnoDB: Tablespace and datafile system tables created.
my_wordpress_project_mariadb | 2019-05-27 21:02:18 139868457671560 [Note] InnoDB: Waiting for purge to start
my_wordpress_project_mariadb | 2019-05-27 21:02:18 139868457671560 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 0
my_wordpress_project_mariadb | 2019-05-27 21:02:19 139867871128296 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] /usr/bin/mysqld (mysqld 10.1.40-MariaDB) starting as process 87 ...
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: The InnoDB memory heap is disabled
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: Using Linux native AIO
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: Using SSE crc32 instructions
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: Completed initialization of buffer pool
my_wordpress_project_mariadb | 2019-05-27 21:02:27 140198463384456 [Note] InnoDB: Highest supported file format is Barracuda.
my_wordpress_project_mariadb | 2019-05-27 21:02:29 140198463384456 [Note] InnoDB: 128 rollback segment(s) are active.
my_wordpress_project_mariadb | 2019-05-27 21:02:29 140198463384456 [Note] InnoDB: Waiting for purge to start
my_wordpress_project_mariadb | 2019-05-27 21:02:29 140198463384456 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 1616730
my_wordpress_project_mariadb | 2019-05-27 21:02:29 140197883927272 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] /usr/bin/mysqld (mysqld 10.1.40-MariaDB) starting as process 116 ...
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: The InnoDB memory heap is disabled
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Using Linux native AIO
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Using SSE crc32 instructions
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Completed initialization of buffer pool
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Highest supported file format is Barracuda.
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: 128 rollback segment(s) are active.
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Waiting for purge to start
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637690465160 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 1616740
my_wordpress_project_mariadb | 2019-05-27 21:02:32 140637111007976 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
my_wordpress_project_mariadb | To do so, start the server, then issue the following commands:
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | '/usr/bin/mysqladmin' -u root password 'new-password'
my_wordpress_project_mariadb | '/usr/bin/mysqladmin' -u root -h password 'new-password'
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | Alternatively you can run:
my_wordpress_project_mariadb | '/usr/bin/mysql_secure_installation'
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | which will also give you the option of removing the test
my_wordpress_project_mariadb | databases and anonymous user created by default. This is
my_wordpress_project_mariadb | strongly recommended for production servers.
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
my_wordpress_project_mariadb | MySQL manual for more instructions.
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | Please report any problems at http://mariadb.org/jira
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | The latest information about MariaDB is available at http://mariadb.org/.
my_wordpress_project_mariadb | You can find additional information about the MySQL part at:
my_wordpress_project_mariadb | http://dev.mysql.com
my_wordpress_project_mariadb | Consider joining MariaDB's strong and vibrant community:
my_wordpress_project_mariadb | https://mariadb.org/get-involved/
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | Database initialized
my_wordpress_project_mariadb | MySQL init process in progress...
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] mysqld (mysqld 10.1.40-MariaDB) starting as process 149 ...
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: The InnoDB memory heap is disabled
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Using Linux native AIO
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Using SSE crc32 instructions
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Completed initialization of buffer pool
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Highest supported file format is Barracuda.
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: 128 rollback segment(s) are active.
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Waiting for purge to start
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 1616750
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715381717736 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] Plugin 'FEEDBACK' is disabled.
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Warning] 'user' entry 'root@bc8ade64a4a7' ignored in --skip-name-resolve mode.
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Warning] 'user' entry '@bc8ade64a4a7' ignored in --skip-name-resolve mode.
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Warning] 'proxies_priv' entry '@% root@bc8ade64a4a7' ignored in --skip-name-resolve mode.
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] Reading of all Master_info entries succeded
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] Added new Master_info '' to hash table
my_wordpress_project_mariadb | 2019-05-27 21:02:35 139715961174920 [Note] mysqld: ready for connections.
my_wordpress_project_mariadb | Version: '10.1.40-MariaDB' socket: '/var/run/mysqld/mysqld.sock' port: 0 MariaDB Server
my_wordpress_project_mariadb | 2019-05-27 21:02:37 139715380865768 [Warning] 'proxies_priv' entry '@% root@bc8ade64a4a7' ignored in --skip-name-resolve mode.
my_wordpress_project_mariadb | 2019-05-27 21:02:37 139715380865768 [Warning] 'proxies_priv' entry '@% root@bc8ade64a4a7' ignored in --skip-name-resolve mode.
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | /usr/local/bin/init_mariadb: running /docker-entrypoint-initdb.d/backup.sql
my_wordpress_project_mariadb |
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | 2019-05-27 21:02:42 139715380546280 [Note] mysqld: Normal shutdown
my_wordpress_project_mariadb | 2019-05-27 21:02:42 139715380546280 [Note] Event Scheduler: Purging the queue. 0 events
my_wordpress_project_mariadb | 2019-05-27 21:02:42 139715382094568 [Note] InnoDB: FTS optimize thread exiting.
my_wordpress_project_mariadb | 2019-05-27 21:02:42 139715380546280 [Note] InnoDB: Starting shutdown...
my_wordpress_project_mariadb | 2019-05-27 21:02:43 139715380546280 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
my_wordpress_project_php | [27-May-2019 23:08:16] NOTICE: fpm is running, pid 1
my_wordpress_project_php | [27-May-2019 23:08:16] NOTICE: ready to handle connections
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139715380546280 [Note] InnoDB: Shutdown completed; log sequence number 32758046
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139715380546280 [Note] mysqld: Shutdown complete
my_wordpress_project_mariadb |
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | MySQL init process done. Ready for start up.
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] mysqld (mysqld 10.1.40-MariaDB) starting as process 1 ...
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: The InnoDB memory heap is disabled
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Using Linux native AIO
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Using SSE crc32 instructions
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Completed initialization of buffer pool
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Highest supported file format is Barracuda.
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: 128 rollback segment(s) are active.
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Waiting for purge to start
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 32758046
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687037827816 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] Plugin 'FEEDBACK' is disabled.
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] Server socket created on IP: '0.0.0.0'.
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Warning] 'proxies_priv' entry '@% root@bc8ade64a4a7' ignored in --skip-name-resolve mode.
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] Reading of all Master_info entries succeded
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] Added new Master_info '' to hash table
my_wordpress_project_mariadb | 2019-05-27 21:02:46 139687617285000 [Note] mysqld: ready for connections.
my_wordpress_project_mariadb | Version: '10.1.40-MariaDB' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MariaDB Server
my_wordpress_project_mariadb | 2019-05-27 22:30:08 139687035996904 [Note] mysqld: Normal shutdown
my_wordpress_project_mariadb | 2019-05-27 22:30:08 139687035996904 [Note] Event Scheduler: Purging the queue. 0 events
my_wordpress_project_mariadb | 2019-05-27 22:30:08 139687038204648 [Note] InnoDB: FTS optimize thread exiting.
my_wordpress_project_mariadb | 2019-05-27 22:30:08 139687035996904 [Note] InnoDB: Starting shutdown...
my_wordpress_project_mariadb | 2019-05-27 22:30:09 139687035996904 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
my_wordpress_project_mariadb | 2019-05-27 22:30:10 139687035996904 [Note] InnoDB: Shutdown completed; log sequence number 32758066
my_wordpress_project_mariadb | 2019-05-27 22:30:10 139687035996904 [Note] mysqld: Shutdown complete
my_wordpress_project_mariadb |
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] mysqld (mysqld 10.1.40-MariaDB) starting as process 1 ...
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: The InnoDB memory heap is disabled
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Using Linux native AIO
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Using SSE crc32 instructions
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Completed initialization of buffer pool
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Highest supported file format is Barracuda.
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: 128 rollback segment(s) are active.
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Waiting for purge to start
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 32758066
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139791422647016 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] Plugin 'FEEDBACK' is disabled.
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] Server socket created on IP: '0.0.0.0'.
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Warning] 'proxies_priv' entry '@% root@bc8ade64a4a7' ignored in --skip-name-resolve mode.
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] Reading of all Master_info entries succeded
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] Added new Master_info '' to hash table
my_wordpress_project_mariadb | 2019-05-27 22:30:14 139792002104200 [Note] mysqld: ready for connections.
my_wordpress_project_mariadb | Version: '10.1.40-MariaDB' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MariaDB Server
my_wordpress_project_mariadb | 2019-05-27 22:35:06 139791421795048 [Note] mysqld: Normal shutdown
my_wordpress_project_mariadb | 2019-05-27 22:35:06 139791421795048 [Note] Event Scheduler: Purging the queue. 0 events
my_wordpress_project_mariadb | 2019-05-27 22:35:06 139791423023848 [Note] InnoDB: FTS optimize thread exiting.
my_wordpress_project_mariadb | 2019-05-27 22:35:06 139791421795048 [Note] InnoDB: Starting shutdown...
my_wordpress_project_mariadb | 2019-05-27 22:35:07 139791421795048 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] mysqld (mysqld 10.1.40-MariaDB) starting as process 1 ...
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: The InnoDB memory heap is disabled
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Using Linux native AIO
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Using SSE crc32 instructions
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Completed initialization of buffer pool
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Highest supported file format is Barracuda.
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: The log sequence number 32758066 in ibdata file do not match the log sequence number 32758076 in the ib_logfiles!
my_wordpress_project_mariadb | 2019-05-27 22:35:23 139725442296712 [Note] InnoDB: Restoring possible half-written data pages from the doublewrite buffer...
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] InnoDB: 128 rollback segment(s) are active.
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] InnoDB: Waiting for purge to start
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 32758076
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139724862839528 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] Plugin 'FEEDBACK' is disabled.
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] Recovering after a crash using tc.log
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] Starting crash recovery...
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] Crash recovery finished.
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] Server socket created on IP: '0.0.0.0'.
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Warning] 'proxies_priv' entry '@% root@bc8ade64a4a7' ignored in --skip-name-resolve mode.
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] Reading of all Master_info entries succeded
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] Added new Master_info '' to hash table
my_wordpress_project_mariadb | 2019-05-27 22:35:24 139725442296712 [Note] mysqld: ready for connections.
my_wordpress_project_mariadb | Version: '10.1.40-MariaDB' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MariaDB Server
Additional
<curl -I -L localhost>
returns
<curl: (7) Failed to connect to localhost port 80: Connection refused>.
"/etc/hosts/" file looks like this:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 wp.docker.localhost
127.0.0.1 wordpress.test
127.0.0.1 phpmyadmin.test
127.0.0.1 pma.wp.docker.localhost:8000
Something isn't right here:
my_wordpress_project_nginx | shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
my_wordpress_project_nginx | shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
I see you have duplicated bind mounts for nginx and php, you should keep only one. You should access nginx/php containers and check that you can see your codebase:
make shell nginx
ls -la /var/www/html
Also, by default traefik is using port 8000, not 80, you should access wp.docker.localhost:8000
Thanks so much for your answer!
(BTW: Please let know, if this is not the best spot to ask these kind of questions.)
Took me a little to follow your instructions, since I am quite new to and not that firm in these topics here.
I hope, I understood what you meant correctly:
- Accessing the nginx container indeed showed me that I had a folder in place, where it wasn't supposed to be. Got rid of it, and re-inserted a codebase folder, which resolved the "retrieving current directory: error".
- I then commented out the nginx volumes section to get rid of the duplicated bind mounts for nginx and php. As a result of this, I could access pma.wp.docker.localhost:8000. But wp.docker.localhost:8000 threw a "403 Forbidden nginx" error.
- Googled a little, and changed permission on the whole docker4wordpress folder to rwx (read write and execute), which lead to this error (taken from "compose-up logs"):
Error
my_wordpress_project_nginx | 2019/05/28 23:46:55 [notice] 37#37: *1 "/wp-admin$" does not match "/", client: 172.26.0.5, server: default, request: "GET / HTTP/1.1", host: "wp.docker.localhost:8000"
my_wordpress_project_nginx | 2019/05/28 23:46:55 [error] 37#37: *1 directory index of "/var/www/html/" is forbidden, client: 172.26.0.5, server: default, request: "GET / HTTP/1.1", host: "wp.docker.localhost:8000"
I am not sure, but maybe granting rwx permission was the wrong step?
Setup
Here is my whole docker4wordpress folder structure and setup(showing only the files I altered):
docker4wordpress
├── codebase
│ ├── wp-config.php
│ ├── wp-content
│ │ └── ...
│ └── ...
├── docker-compose.yml
├── .env
└── mariadb-init
└── backup.sql
└── ...
- I added the
codebase
folder, inserted an already existing WordPress project in there and deleteddocker-compose.override.yml
before running the first "docker-compose up". - ensured that database credentials match in
wp-config.php
and.env
files
.env
Didn't change much from default, but the PHP.
### PROJECT SETTINGS
PROJECT_NAME=my_wordpress_project
PROJECT_BASE_URL=wp.docker.localhost
DB_NAME=wordpress
DB_USER=wordpress
DB_PASSWORD=wordpress
DB_ROOT_PASSWORD=password
DB_HOST=mariadb
### --- MARIADB ----
MARIADB_TAG=10.1-3.4.9
#MARIADB_TAG=10.2-3.4.9
#MARIADB_TAG=10.3-3.4.9
### --- VANILLA WORDPRESS ----
WORDPRESS_TAG=5-4.15.2
### --- PHP ----
# Linux (uid 1000 gid 1000)
#PHP_TAG=7.2-dev-4.12.11
#PHP_TAG=7.3-dev-4.12.11
#PHP_TAG=7.1-dev-4.12.11
#PHP_TAG=5.6-dev-4.12.11
# macOS (uid 501 gid 20)
#PHP_TAG=7.3-dev-macos-4.12.11
PHP_TAG=7.2-dev-macos-4.12.11
#PHP_TAG=7.1-dev-macos-4.12.11
#PHP_TAG=5.6-dev-macos-4.12.11
### --- NGINX ----
NGINX_TAG=1.15-5.4.1
#NGINX_TAG=1.16-5.4.1
### --- REDIS ---
REDIS_TAG=4-3.0.7
#REDIS_TAG=5-3.0.7
### --- NODE ---
NODE_TAG=12-0.14.0
#NODE_TAG=10-0.14.0
#NODE_TAG=8-0.14.0
### --- VARNISH ---
VARNISH_TAG=4.1-4.2.8
#VARNISH_TAG=6.0-4.2.8
### --- SOLR ---
SOLR_TAG=7.7-3.1.3
#SOLR_TAG=7.6-3.1.3
#SOLR_TAG=7.5-3.1.3
#SOLR_TAG=6.6-3.1.3
#SOLR_TAG=5.5-3.1.3
### --- ELASTICSEARCH ---
ELASTICSEARCH_TAG=7-4.2.0
#ELASTICSEARCH_TAG=6-4.2.0
### --- KIBANA ---
KIBANA_TAG=7-4.2.0
#KIBANA_TAG=6-4.2.0
### --- POSTGRESQL ----
POSTGRES_TAG=11-1.6.3
#POSTGRES_TAG=10-1.6.3
#POSTGRES_TAG=9.6-1.6.3
#POSTGRES_TAG=9.5-1.6.3
#POSTGRES_TAG=9.4-1.6.3
### OTHERS
ADMINER_TAG=4-3.5.11
APACHE_TAG=2.4-4.0.7
ATHENAPDF_TAG=2.10.0
MEMCACHED_TAG=1-2.2.4
OPENSMTPD_TAG=6.0-1.4.2
RSYSLOG_TAG=latest
WEBGRIND_TAG=1.5-1.9.11
XHPROF_TAG=1.3.11
docker-compose.yml
Basically same as above. But I did alter the "volumes" part for php and nginx.
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:
- ./mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
# - /path/to/mariadb/data/on/host:/var/lib/mysql # I want to manage volumes manually.
php:
image: wodby/wordpress-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
PHP_FPM_USER: wodby
PHP_FPM_GROUP: wodby
## Read instructions at https://wodby.com/stacks/wordpress/docs/local/xdebug/
# PHP_XDEBUG: 1
# PHP_XDEBUG_DEFAULT_ENABLE: 1
# PHP_XDEBUG_REMOTE_CONNECT_BACK: 0
# PHP_IDE_CONFIG: serverName=my-ide
# PHP_XDEBUG_REMOTE_HOST: 172.17.0.1 # Linux
# PHP_XDEBUG_REMOTE_HOST: 10.254.254.254 # macOS
# PHP_XDEBUG_REMOTE_HOST: 10.0.75.1 # Windows
volumes:
# - ./:/var/www/html
## For macOS users (https://wodby.com/stacks/wordpress/docs/local/docker-for-mac/)
# - ./:/var/www/html:cached # User-guided caching
- docker-sync:/var/www/html # Docker-sync
## For XHProf and Xdebug profiler traces
# - files:/mnt/files
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_VHOST_PRESET: wordpress
#NGINX_SERVER_ROOT: /var/www/html/subdir
# volumes:
# - ./:/var/www/html
# Options for macOS users (https://wodby.com/stacks/wordpress/docs/local/docker-for-mac/)
# - ./:/var/www/html:cached # User-guided caching
# - docker-sync:/var/www/html # Docker-sync
labels:
- 'traefik.backend=${PROJECT_NAME}_nginx'
- 'traefik.port=80'
- 'traefik.frontend.rule=Host:${PROJECT_BASE_URL}'
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}'
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
container_name: "${PROJECT_NAME}_traefik"
command: -c /dev/null --web --docker --logLevel=INFO
ports:
- '8000:80'
# - '8080:8080' # Dashboard
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
## Docker-sync for macOS users
docker-sync:
external: true
## For Xdebug profiler
# files:
- added
mariadb-init
folder and insertedbackup.sql
file (that seems to be working, since the db is visible inside of phpmyadmin.)
So your issue now is 403 Forbidden nginx
, which means there's no codebase in your nginx image and there's no surprise as I see you've commented all bind mounts for nginx in your compose file for some reason.
I have the same error here (with a bind-mound)
If you followed the "Mount my Existing Codebase" guide the docs a a bit incomplete. The first step mentions forking https://github.com/wodby/wordpress-composer and assumes all your code is inside ./web
(https://github.com/wodby/wordpress-composer/blob/master/README.md).
However, when putting everything into the ./web
subfolder, you will also need to supply NGINX_SERVER_ROOT: /var/www/html/web