Commit 2440fc91 by Ali Arshad

Updated config

parent cf47aff7
......@@ -14,11 +14,11 @@ services:
- database.env
restart: unless-stopped
mem_limit: 512M
container_name: wp_portfolio_web
container_name: wp_hr_web
nginx:
image: nginx:latest
ports:
- '20010:80'
- '30070:80'
volumes:
- ../nginx:/etc/nginx/conf.d
- ../logs/nginx:/var/log/nginx
......@@ -26,7 +26,7 @@ services:
links:
- wordpress
restart: unless-stopped
container_name: wp_portfolio_nginx
container_name: wp_hr_nginx
db:
image: mariadb
volumes:
......@@ -35,22 +35,22 @@ services:
- database.env
restart: unless-stopped
mem_limit: 256M
container_name: wp_portfolio_db
cron:
build:
context: ../BACKUP
hostname: mail.vqode.com
depends_on:
- db
- wordpress
links:
- db
volumes:
- ./WWW_DATA:/var/www/html
env_file:
- database.env
restart: unless-stopped
container_name: wp_portfolio_backup_service
container_name: wp_hr_db
# cron:
# build:
# context: ../BACKUP
# hostname: mail.vqode.com
# depends_on:
# - db
# - wordpress
# links:
# - db
# volumes:
# - ./WWW_DATA:/var/www/html
# env_file:
# - database.env
# restart: unless-stopped
# container_name: wp_hr_backup_service
# sftp:
# image: atmoz/sftp
# volumes:
......@@ -59,4 +59,4 @@ services:
# - "2222:22"
# command: foo:123:501:20
# restart: unless-stopped
# container_name: wp_template_sshd_service
\ No newline at end of file
# container_name: wp_template_sshd_service
This source diff could not be displayed because it is too large. You can view the blob instead.
2019/01/10 12:25:12 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010"
2019/01/10 12:25:13 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010", referrer: "http://localhost:20010/"
2019/01/10 12:26:02 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010"
2019/01/10 12:26:02 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010", referrer: "http://localhost:20010/"
2019/01/10 12:29:58 [error] 7#7: *15 client intended to send too large body: 2894738 bytes, client: 172.20.0.1, server: , request: "POST /wp-admin/update.php?action=upload-theme HTTP/1.1", host: "localhost:20010", referrer: "http://localhost:20010/wp-admin/theme-install.php?browse=featured"
2019/01/10 12:47:34 [error] 6#6: *101 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.20.0.1, server: , request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://172.20.0.3:9000", host: "localhost:20010", referrer: "http://localhost:20010/wp-admin/admin.php?page=pure_options"
......@@ -6,8 +6,8 @@ server {
client_max_body_size 1024M;
access_log /var/log/nginx/hakase-access.log;
error_log /var/log/nginx/hakase-error.log;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location / {
try_files $uri $uri/ /index.php?$args;
......@@ -22,4 +22,4 @@ server {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment