Compare commits
10 Commits
8788e1cfe4
...
7f7852ad24
| Author | SHA1 | Date |
|---|---|---|
|
|
7f7852ad24 | |
|
|
11b8f358cd | |
|
|
db91177ce5 | |
|
|
e53296f73b | |
|
|
8e09b7b420 | |
|
|
2cac6ee127 | |
|
|
3393b15d64 | |
|
|
5392bb467b | |
|
|
9949d05e12 | |
|
|
ba34caae2b |
14
.env
14
.env
|
|
@ -1,14 +1,16 @@
|
||||||
COMPOSE_PROJECT_NAME=prod
|
COMPOSE_PROJECT_NAME=c2d
|
||||||
NETWORK=prod
|
NETWORK=c2d
|
||||||
|
|
||||||
FRONT_TAG=master
|
FRONT_TAG=134
|
||||||
DOTDOT_TAG=master
|
DOTDOT_TAG=134
|
||||||
LMS_TAG=master
|
LMS_TAG=134
|
||||||
HELP_TAG=master
|
HELP_TAG=master
|
||||||
|
ADMIN_TAG=master
|
||||||
|
|
||||||
|
PHP_SOCKER_HOST=ws
|
||||||
PHP_SOCKET_PORT=8080
|
PHP_SOCKET_PORT=8080
|
||||||
|
|
||||||
MYSQL_PORT=0.0.0.0:3306
|
MYSQL_PORT=0.0.0.0:33062
|
||||||
MYSQL_ROOT_PASSWORD=ahwaireiNeebeeW9keiZ
|
MYSQL_ROOT_PASSWORD=ahwaireiNeebeeW9keiZ
|
||||||
MYSQL_DATABASE=dot
|
MYSQL_DATABASE=dot
|
||||||
MYSQL_USER=dot
|
MYSQL_USER=dot
|
||||||
|
|
|
||||||
10
app.sh
10
app.sh
|
|
@ -87,6 +87,7 @@ init() {
|
||||||
up() {
|
up() {
|
||||||
checkDockerCompose
|
checkDockerCompose
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
|
docker compose exec nginx nginx -t && docker compose exec nginx nginx -s reload
|
||||||
}
|
}
|
||||||
|
|
||||||
down() {
|
down() {
|
||||||
|
|
@ -125,6 +126,11 @@ purgeDb() {
|
||||||
log "created database dot" "info"
|
log "created database dot" "info"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chown() {
|
||||||
|
docker compose exec php bash -c 'mkdir -p /application/var/cache/prod/profiler'
|
||||||
|
docker compose exec php bash -c 'chown -R www-data:www-data /application/var/cache/prod/*'
|
||||||
|
}
|
||||||
|
|
||||||
composer() {
|
composer() {
|
||||||
docker compose exec php php -d memory_limit=-1 /usr/local/bin/composer ${@:1}
|
docker compose exec php php -d memory_limit=-1 /usr/local/bin/composer ${@:1}
|
||||||
}
|
}
|
||||||
|
|
@ -149,7 +155,7 @@ case "$1" in
|
||||||
"tests")
|
"tests")
|
||||||
composer tests;;
|
composer tests;;
|
||||||
"console"*)
|
"console"*)
|
||||||
docker compose exec php ./bin/console ${@:2};;
|
docker compose exec --user www-data php ./bin/console ${@:2};;
|
||||||
"db")
|
"db")
|
||||||
docker compose exec db mysql -uroot -p${MYSQL_ROOT_PASSWORD};;
|
docker compose exec db mysql -uroot -p${MYSQL_ROOT_PASSWORD};;
|
||||||
"db-create")
|
"db-create")
|
||||||
|
|
@ -166,6 +172,8 @@ case "$1" in
|
||||||
purgeDb;;
|
purgeDb;;
|
||||||
"restore-db")
|
"restore-db")
|
||||||
restoredb;;
|
restoredb;;
|
||||||
|
"chown")
|
||||||
|
chown;;
|
||||||
"front"*)
|
"front"*)
|
||||||
case $2 in
|
case $2 in
|
||||||
*)
|
*)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,80 @@
|
||||||
|
APP_NAME="DOT-DOT admin"
|
||||||
|
APP_ENV=production
|
||||||
|
APP_KEY=base64:tt8hr1y+cfNtEPQfWtFi9OXEDgko6Qw6uxeNK7ka3YU=
|
||||||
|
APP_DEBUG=true
|
||||||
|
APP_TIMEZONE=UTC
|
||||||
|
APP_URL=https://c2dadmin.dot-dot.ru
|
||||||
|
FRONTEND_URL=https://c2dadmin.dot-dot.ru
|
||||||
|
ASSET_URL=https://c2dadmin.dot-dot.ru
|
||||||
|
APP_EMAIL_DOMAIN="dot-dot.ru"
|
||||||
|
|
||||||
|
APP_LOCALE=ru
|
||||||
|
APP_FALLBACK_LOCALE=ru
|
||||||
|
APP_FAKER_LOCALE=ru_RU
|
||||||
|
|
||||||
|
APP_MAINTENANCE_DRIVER=file
|
||||||
|
# APP_MAINTENANCE_STORE=database
|
||||||
|
|
||||||
|
BCRYPT_ROUNDS=12
|
||||||
|
|
||||||
|
LOG_CHANNEL=stack
|
||||||
|
LOG_STACK=single
|
||||||
|
LOG_DEPRECATIONS_CHANNEL=null
|
||||||
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
|
DEFAULT_DB_CONNECTION=dashboard
|
||||||
|
|
||||||
|
#Параметры подключения к базе панели управления
|
||||||
|
|
||||||
|
DASHBOARD_DB_HOST=db
|
||||||
|
DASHBOARD_DB_PORT=3306
|
||||||
|
DASHBOARD_DB_DATABASE=dashboard
|
||||||
|
DASHBOARD_DB_USERNAME=root
|
||||||
|
DASHBOARD_DB_PASSWORD=ahwaireiNeebeeW9keiZ
|
||||||
|
|
||||||
|
#Параметры подключения к базе dot-dot
|
||||||
|
|
||||||
|
DOT_DOT_DB_HOST=db
|
||||||
|
DOT_DOT_DB_PORT=3306
|
||||||
|
DOT_DOT_DB_DATABASE=dot
|
||||||
|
DOT_DOT_DB_USERNAME=root
|
||||||
|
DOT_DOT_DB_PASSWORD=ahwaireiNeebeeW9keiZ
|
||||||
|
|
||||||
|
SESSION_DRIVER=database
|
||||||
|
SESSION_LIFETIME=120
|
||||||
|
SESSION_ENCRYPT=false
|
||||||
|
SESSION_PATH=/
|
||||||
|
SESSION_DOMAIN=null
|
||||||
|
|
||||||
|
BROADCAST_CONNECTION=log
|
||||||
|
FILESYSTEM_DISK=local
|
||||||
|
QUEUE_CONNECTION=database
|
||||||
|
|
||||||
|
CACHE_STORE=database
|
||||||
|
CACHE_PREFIX=
|
||||||
|
|
||||||
|
MEMCACHED_HOST=127.0.0.1
|
||||||
|
|
||||||
|
REDIS_CLIENT=phpredis
|
||||||
|
REDIS_HOST=127.0.0.1
|
||||||
|
REDIS_PASSWORD=null
|
||||||
|
REDIS_PORT=6379
|
||||||
|
|
||||||
|
MAIL_MAILER=log
|
||||||
|
MAIL_HOST=127.0.0.1
|
||||||
|
MAIL_PORT=2525
|
||||||
|
MAIL_USERNAME=null
|
||||||
|
MAIL_PASSWORD=null
|
||||||
|
MAIL_ENCRYPTION=null
|
||||||
|
MAIL_FROM_ADDRESS="hello@example.com"
|
||||||
|
MAIL_FROM_NAME="${APP_NAME}"
|
||||||
|
|
||||||
|
AWS_ACCESS_KEY_ID=
|
||||||
|
AWS_SECRET_ACCESS_KEY=
|
||||||
|
AWS_DEFAULT_REGION=us-east-1
|
||||||
|
AWS_BUCKET=
|
||||||
|
AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||||
|
|
||||||
|
VITE_APP_NAME="${APP_NAME}"
|
||||||
|
|
||||||
|
DOT_DOT_HOST=https://.dot-dot.ru
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
server {
|
||||||
|
server_name admin.dot-dot.ru;
|
||||||
|
listen 443 ssl;
|
||||||
|
|
||||||
|
ssl_certificate /etc/nginx/ssl/dot2024.crt;
|
||||||
|
ssl_certificate_key /etc/nginx/ssl/dot2024.key;
|
||||||
|
|
||||||
|
|
||||||
|
index index.php index.html index.htm;
|
||||||
|
root /application/public;
|
||||||
|
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.php?$args;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.php$ {
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
||||||
|
fastcgi_pass localhost:9000;
|
||||||
|
try_files $uri =404;
|
||||||
|
fastcgi_index index.php;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -2,12 +2,12 @@ NUXT_HOST=0.0.0.0
|
||||||
NUXT_PORT=3000
|
NUXT_PORT=3000
|
||||||
NUXT_ENV_DEVALUE_LOG_LEVEL=silent
|
NUXT_ENV_DEVALUE_LOG_LEVEL=silent
|
||||||
WS_PROTOCOL=wss
|
WS_PROTOCOL=wss
|
||||||
BASE_URL=https://lms.dot-dot.ru/
|
BASE_URL=https://c2d.dot-dot.ru/
|
||||||
API_URL=https://lms.dot-dot.ru/
|
API_URL=https://c2d.dot-dot.ru/
|
||||||
DOMAIN=lms.dot-dot.ru
|
DOMAIN=c2d.dot-dot.ru
|
||||||
|
|
||||||
APP_HOST=lms.dot-dot.ru
|
APP_HOST=c2d.dot-dot.ru
|
||||||
APP_SCHEME=https
|
APP_SCHEME=https
|
||||||
APP_ENVIRONMENT=development
|
APP_ENVIRONMENT=production
|
||||||
DADATA_API_TOKEN=c9aa5fdc338a746e23ce91ceb6fdb9e635749833
|
DADATA_API_TOKEN=c9aa5fdc338a746e23ce91ceb6fdb9e635749833
|
||||||
YANDEX_METRIKA_ID=50156956
|
YANDEX_METRIKA_ID=50156956
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
DOMAIN="${DOMAIN:-lms.dot-dot.ru}"
|
||||||
|
|
||||||
|
for x in $(grep -lrw "lms.dot-dot.ru" .nuxt/);do
|
||||||
|
echo "replace lms.dot-dot.ru to https://${DOMAIN} in $x"
|
||||||
|
sed -i -e "s/lms.dot-dot.ru/${DOMAIN}/g" $x;
|
||||||
|
done
|
||||||
|
|
||||||
|
"$@"
|
||||||
|
|
@ -1,18 +1,23 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name wiki.dot-dot.ru;
|
server_name c2dadmin.dot-dot.ru;
|
||||||
return 301 https://$server_name$request_uri;
|
return 301 https://$server_name$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl ;
|
||||||
server_name wiki.dot-dot.ru;
|
server_name c2dadmin.dot-dot.ru;
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/ssl/dot2023.crt;
|
ssl_certificate /etc/nginx/ssl/dot2025.crt;
|
||||||
ssl_certificate_key /etc/nginx/ssl/dot2023.key;
|
ssl_certificate_key /etc/nginx/ssl/dot2025.key;
|
||||||
|
|
||||||
|
client_max_body_size 10m;
|
||||||
|
|
||||||
|
access_log /var/log/nginx/c2dadmin.dot-dot.ru_access.log json;
|
||||||
|
error_log /var/log/nginx/c2dadmin.dot-dot.ru_error.log;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://bookstack:80;
|
proxy_pass https://admin:443;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection 'upgrade';
|
proxy_set_header Connection 'upgrade';
|
||||||
|
|
@ -1,18 +1,24 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name lms.dot-dot.ru;
|
server_name c2d.dot-dot.ru;
|
||||||
return 301 https://$server_name$request_uri;
|
return 301 https://$server_name$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name lms.dot-dot.ru;
|
server_name c2d.dot-dot.ru;
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/ssl/dot2023.crt;
|
ssl_certificate /etc/nginx/ssl/dot2025.crt;
|
||||||
ssl_certificate_key /etc/nginx/ssl/dot2023.key;
|
ssl_certificate_key /etc/nginx/ssl/dot2025.key;
|
||||||
|
|
||||||
|
access_log /var/log/nginx/lms.wwater.ru_access.log json;
|
||||||
|
error_log /var/log/nginx/lms.wwater.ru_error.log;
|
||||||
|
|
||||||
root /application/public;
|
root /application/public;
|
||||||
|
|
||||||
|
|
||||||
|
client_max_body_size 30m;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://lms:3000;
|
proxy_pass http://lms:3000;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
@ -48,10 +54,6 @@ server {
|
||||||
try_files $uri @rewriteapp;
|
try_files $uri @rewriteapp;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /help {
|
|
||||||
proxy_pass http://help-platform;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
rewrite ^(.*)$ /index.php/$1 last;
|
rewrite ^(.*)$ /index.php/$1 last;
|
||||||
}
|
}
|
||||||
|
|
@ -96,7 +98,7 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /robots.txt {
|
location /robots.txt {
|
||||||
proxy_pass http://static;
|
root /etc/nginx/other/lms.dot-dot.ru;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/index\.php(/|$) {
|
location ~ ^/index\.php(/|$) {
|
||||||
|
|
@ -112,12 +114,12 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
#add_header 'Access-Control-Allow-Origin' $http_origin;
|
#add_header 'Access-Control-Allow-Origin' $http_origin;
|
||||||
add_header 'Access-Control-Allow-Origin' *;
|
#add_header 'Access-Control-Allow-Origin' *;
|
||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
#add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, DELETE';
|
#add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, DELETE';
|
||||||
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Expeditor-Domain,Authorization';
|
#add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Expeditor-Domain,Authorization';
|
||||||
|
|
||||||
fastcgi_pass php:9001;
|
fastcgi_pass backend:9001;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
|
@ -1,190 +0,0 @@
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name dot-dot.ru;
|
|
||||||
return 301 https://$server_name$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
server_name dot-dot.ru;
|
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/ssl/dot2023.crt;
|
|
||||||
ssl_certificate_key /etc/nginx/ssl/dot2023.key;
|
|
||||||
|
|
||||||
root /application/public;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_pass http://nuxt:3000;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection 'upgrade';
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_cache_bypass $http_upgrade;
|
|
||||||
chunked_transfer_encoding off;
|
|
||||||
proxy_buffering off;
|
|
||||||
proxy_cache off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /socket.io/auctionreload {
|
|
||||||
access_log /var/log/nginx/ws_access.log json;
|
|
||||||
error_log /var/log/nginx/ws_error.log;
|
|
||||||
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection $connection_upgrade;
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_pass http://php:8080/;
|
|
||||||
}
|
|
||||||
|
|
||||||
location @rewriteapp {
|
|
||||||
rewrite ^(.*)$ /index.php/$1 last;
|
|
||||||
}
|
|
||||||
|
|
||||||
# location /storybook {
|
|
||||||
# alias /application/nuxt/storybook-static;
|
|
||||||
# }
|
|
||||||
|
|
||||||
location /logout {
|
|
||||||
try_files $uri @rewriteapp;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /help {
|
|
||||||
proxy_pass http://help-platform;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /api {
|
|
||||||
rewrite ^(.*)$ /index.php/$1 last;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /clockwork {
|
|
||||||
rewrite ^(.*)$ /index.php/$1 last;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /__clockwork {
|
|
||||||
rewrite ^(.*)$ /index.php/$1 last;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /pdf {
|
|
||||||
rewrite ^(.*)$ /index.php/$1 last;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /1c {
|
|
||||||
rewrite ^(.*)$ /index.php/$1 last;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /socket {
|
|
||||||
try_files $uri @rewriteapp;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /admin {
|
|
||||||
try_files $uri @rewriteapp;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~* \/admin\/.*(js|jpg|png|css|woff|woff2)$ {
|
|
||||||
proxy_pass http://static;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /media {
|
|
||||||
try_files $uri @rewriteapp;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /img {
|
|
||||||
proxy_pass http://static;
|
|
||||||
# alias /application/public/img;
|
|
||||||
# try_files $uri /index.php$request_uri;
|
|
||||||
# expires 6M;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /robots.txt {
|
|
||||||
proxy_pass http://static;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ ^/index\.php(/|$) {
|
|
||||||
if ($request_method = 'OPTIONS') {
|
|
||||||
add_header 'Access-Control-Allow-Origin' $http_origin;
|
|
||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, DELETE';
|
|
||||||
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Expeditor-Domain,Authorization';
|
|
||||||
add_header 'Access-Control-Max-Age' 1728000;
|
|
||||||
add_header 'Content-Type' 'text/plain charset=UTF-8';
|
|
||||||
add_header 'Content-Length' 0;
|
|
||||||
return 204;
|
|
||||||
}
|
|
||||||
|
|
||||||
#add_header 'Access-Control-Allow-Origin' $http_origin;
|
|
||||||
add_header 'Access-Control-Allow-Origin' *;
|
|
||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, DELETE';
|
|
||||||
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Expeditor-Domain,Authorization';
|
|
||||||
|
|
||||||
fastcgi_pass php:9001;
|
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
|
||||||
include fastcgi_params;
|
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /metrics {
|
|
||||||
access_log /var/log/nginx/node_exporter_access.log json;
|
|
||||||
error_log /var/log/nginx/node_exporter_error.log;
|
|
||||||
|
|
||||||
#if ($allow = 0) {
|
|
||||||
# return 403;
|
|
||||||
#}
|
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Scheme $scheme;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_pass http://node-exporter:9100/metrics;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /cadvisor {
|
|
||||||
access_log /var/log/nginx/cadvisor_access.log json;
|
|
||||||
error_log /var/log/nginx/cadvisor_error.log;
|
|
||||||
|
|
||||||
#if ($allow = 0) {
|
|
||||||
# return 403;
|
|
||||||
#}
|
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Scheme $scheme;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_pass http://cadvisor:8080/metrics;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /mysql_exporter {
|
|
||||||
access_log /var/log/nginx/mysql_exporter_access.log json;
|
|
||||||
error_log /var/log/nginx/mysql_exporter_error.log;
|
|
||||||
|
|
||||||
#if ($allow = 0) {
|
|
||||||
# return 403;
|
|
||||||
#}
|
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Scheme $scheme;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_pass http://mysqld-exporter:9104/metrics;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /redis_exporter {
|
|
||||||
access_log /var/log/nginx/mysql_exporter_access.log json;
|
|
||||||
error_log /var/log/nginx/mysql_exporter_error.log;
|
|
||||||
|
|
||||||
#if ($allow = 0) {
|
|
||||||
# return 403;
|
|
||||||
#}
|
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Scheme $scheme;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_pass http://redis-exporter:9121/metrics;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name demolms.dot-dot.ru;
|
|
||||||
return 301 https://$server_name$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
server_name demolms.dot-dot.ru;
|
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/ssl/dot2023.crt;
|
|
||||||
ssl_certificate_key /etc/nginx/ssl/dot2023.key;
|
|
||||||
|
|
||||||
location ~ /.* {
|
|
||||||
proxy_pass http://demolms-nginx;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection 'upgrade';
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_cache_bypass $http_upgrade;
|
|
||||||
chunked_transfer_encoding off;
|
|
||||||
proxy_buffering off;
|
|
||||||
proxy_cache off;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name rabbitmq.dot-dot.ru;
|
|
||||||
return 301 https://$server_name$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
server_name rabbitmq.dot-dot.ru;
|
|
||||||
|
|
||||||
access_log /var/log/nginx/rabbitmq.wwater.ru_access.log json;
|
|
||||||
error_log /var/log/nginx/rabbitmq.wwater.ru_error.log;
|
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/ssl/dot2023.crt;
|
|
||||||
ssl_certificate_key /etc/nginx/ssl/dot2023.key;
|
|
||||||
|
|
||||||
proxy_buffer_size 128k;
|
|
||||||
proxy_buffers 4 128k;
|
|
||||||
client_body_buffer_size 32k;
|
|
||||||
client_header_buffer_size 256k;
|
|
||||||
large_client_header_buffers 4 256k;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
client_max_body_size 600m;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Scheme $scheme;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_pass http://rabbitmq:15672;
|
|
||||||
proxy_connect_timeout 600;
|
|
||||||
proxy_send_timeout 600;
|
|
||||||
proxy_read_timeout 600;
|
|
||||||
send_timeout 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /metrics {
|
|
||||||
client_max_body_size 600m;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Scheme $scheme;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_redirect off;
|
|
||||||
proxy_pass http://rabbitmq:15692/metrics;
|
|
||||||
proxy_connect_timeout 600;
|
|
||||||
proxy_send_timeout 600;
|
|
||||||
proxy_read_timeout 600;
|
|
||||||
send_timeout 600;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
User-agent: *
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
User-agent: *
|
||||||
|
Disallow: /
|
||||||
|
|
@ -0,0 +1,107 @@
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIHVjCCBj6gAwIBAgIMUR4H/7XMBL9Q9JAXMA0GCSqGSIb3DQEBCwUAMFUxCzAJ
|
||||||
|
BgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMSswKQYDVQQDEyJH
|
||||||
|
bG9iYWxTaWduIEdDQyBSNiBBbHBoYVNTTCBDQSAyMDIzMB4XDTI0MDgxNDA0MjQz
|
||||||
|
MVoXDTI1MDkxNTA0MjQzMFowFzEVMBMGA1UEAwwMKi5kb3QtZG90LnJ1MIICIjAN
|
||||||
|
BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA8eI42aZ18C3CHE8CEcUhMwCbfPle
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lMzrDb95Exkqm45FHLVbifPBSqiyCVtqa9VWDkyAQqCHhaCCB0N1YmCZGbXZy
|
||||||
|
HefWc8f/v4Kxam/8IpUXAH7U7sWZhX6p1yRn6Z5+FnWoyr1I6t/tDv1yBvB2EsKe
|
||||||
|
jJPLLPq41Aw6QP5EZ8Eks1VREW5aq2a+8WDJKnL3CCCtlIBh6cntADzZBBE2Zb2E
|
||||||
|
0/lM83sGLj9vAFw/PIkE/OCVobtpcj56O1UYZs/RDbLNhPUmhUhpSHSaiWU7VXeR
|
||||||
|
PoLgStsJrBZTSg1bdj8HK32lTzKcYspWwvjzbPclllxGzqKLTIdtCA9SbIl+363n
|
||||||
|
YMEkGJPyfIu4uQ==
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIFjDCCA3SgAwIBAgIQfx8skC6D0OO2+zvuR4tegDANBgkqhkiG9w0BAQsFADBM
|
||||||
|
MSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSNjETMBEGA1UEChMKR2xv
|
||||||
|
YmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjAeFw0yMzA3MTkwMzQzMjVaFw0y
|
||||||
|
NjA3MTkwMDAwMDBaMFUxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWdu
|
||||||
|
IG52LXNhMSswKQYDVQQDEyJHbG9iYWxTaWduIEdDQyBSNiBBbHBoYVNTTCBDQSAy
|
||||||
|
MDIzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA00Jvk5ADppO0rgDn
|
||||||
|
j1M14XIb032Aas409JJFAb8cUjipFOth7ySLdaWLe3s63oSs5x3eWwzTpX4BFkzZ
|
||||||
|
bxT1eoJSHfT2M0wZ5QOPcCIjsr+YB8TAvV2yJSyq+emRrN/FtgCSTaWXSJ5jipW8
|
||||||
|
SJ/VAuXPMzuAP2yYpuPcjjQ5GyrssDXgu+FhtY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avObMsXUPl/AO8y/jOuAWz0wyvPnKom+o6W4vKDY6/6XPypNdebOJ6m
|
||||||
|
jyaILp0quoQvhjx87BzENh5s57AIOyIGpS0sDEChVDPzLEfRsH2FJ8/W5woF0nvs
|
||||||
|
BTqfYSCqblQbHeDDtCj7Mlf8JfqaMuqcbE4rMSyfeHyCdZQwnc/r9ujnth691AJh
|
||||||
|
xyYeCM04metJIe7cB6d4dFm+Pd5ervY4x32r0uQ1Q0spy1VjNqUJjussYuXNyMmF
|
||||||
|
HSuLQQ6PrePmH5lcSMQpYKzPoD/RiNVD/PK0O3vuO5vh3o7oKb1FfzoanDsFFTrw
|
||||||
|
0aLOdRW/tmLPWVNVlAb8ad+B80YJsL4HXYnQG8wYAFb8LhwSDyT9v+C1C1lcIHE7
|
||||||
|
nE0AAp9JSHxDYsma9pi4g0Phg3BgOm2euTRzw7R0SzU=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIFgzCCA2ugAwIBAgIORea7A4Mzw4VlSOb/RVEwDQYJKoZIhvcNAQEMBQAwTDEg
|
||||||
|
MB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjYxEzARBgNVBAoTCkdsb2Jh
|
||||||
|
bFNpZ24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMTQxMjEwMDAwMDAwWhcNMzQx
|
||||||
|
MjEwMDAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSNjET
|
||||||
|
MBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCAiIwDQYJ
|
||||||
|
KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJUH6HPKZvnsFMp7PPcNCPG0RQssgrRI
|
||||||
|
xutbPK6DuEGSMxSkb3/pKszGsIhrxbaJ0cay/xTOURQh7ErdG1rG1ofuTToVBu1k
|
||||||
|
ZguSgMpE3nOUTvOniX9PeGMIyBJQbUJmL025eShNUhqKGoC3GYEOfsSKvGRMIRxD
|
||||||
|
aNc9PIrFsmbVkJq3MQbFvuJtMgamHvm566qjuL++gmNQ0PAYid/kD3n16qIfKtJw
|
||||||
|
LnvnvJO7bVPiSHyMEAc4/2ayd2F+4OqMPKq0pPbzlUoSB239jLKJz9CgYXfIWHSw
|
||||||
|
1CM69106yqLbnQneXUQtkPGBzVeS+n68UARjNN9rkxi+azayOeSsJDa38O+2HBNX
|
||||||
|
k7besvjihbdzorg1qkXy4J02oW9UivFyVm4uiMVRQkQVlO6jxTiWm05OWgtH8wY2
|
||||||
|
SXcwvHE35absIQh1/OZhFj931dmRl4QKbNQCTXTAFO39OfuD8l4UoQSwC+n+7o/h
|
||||||
|
bguyCLNhZglqsQY6ZZZZwPA1/cnaKI0aEYdwgQqomnUdnjqGBQCe24DWJfncBZ4n
|
||||||
|
WUx2OVvq+aWh2IMP0f/fMBH5hc8zSPXKbWQULHpYT9NLCEnFlWQaYw55PfWzjMpY
|
||||||
|
rZxCRXluDocZXFSxZba/jJvcE+kNb7gu3GduyYsRtYQUigAZcIN5kZeR1Bonvzce
|
||||||
|
MgfYFGM8KEyvAgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTAD
|
||||||
|
AQH/MB0GA1UdDgQWBBSubAWjkxPioufi1xzWx/B/yGdToDAfBgNVHSMEGDAWgBSu
|
||||||
|
bAWjkxPioufi1xzWx/B/yGdToDANBgkqhkiG9w0BAQwFAAOCAgEAgyXt6NH9lVLN
|
||||||
|
nsAEoJFp5lzQhN7craJP6Ed41mWYqVuoPId8AorRbrcWc+ZfwFSY1XS+wc3iEZGt
|
||||||
|
Ixg93eFyRJa0lV7Ae46ZeBZDE1ZXs6KzO7V33EByrKPrmzU+sQghoefEQzd5Mr61
|
||||||
|
55wsTLxDKZmOMNOsIeDjHfrYBzN2VAAiKrlNIC5waNrlU/yDXNOd8v9EDERm8tLj
|
||||||
|
vUYAGm0CuiVdjaExUd1URhxN25mW7xocBFymFe944Hn+Xds+qkxV/ZoVqW/hpvvf
|
||||||
|
cDDpw+5CRu3CkwWJ+n1jez/QcYF8AOiYrg54NMMl+68KnyBr3TsTjxKM4kEaSHpz
|
||||||
|
oHdpx7Zcf4LIHv5YGygrqGytXm3ABdJ7t+uA/iU3/gKbaKxCXcPu9czc8FB10jZp
|
||||||
|
nOZ7BN9uBmm23goJSFmH63sUYHpkqmlD75HHTOwY3WzvUy2MmeFe8nI+z1TIvWfs
|
||||||
|
pA9MRf/TuTAjB0yPEL+GltmZWrSZVxykzLsViVO6LAUP5MSeGbEYNNVMnbrt9x+v
|
||||||
|
JJUEeKgDu+6B5dpffItKoZB0JaezPkvILFa9x8jvOOJckvB595yEunQtYQEgfn7R
|
||||||
|
8k8HWV+LLUNS60YMlOH1Zkd5d9VUWx+tJDfLRVpOoERIyNiwmcUVhAn21klJwGW4
|
||||||
|
5hpxbqCo8YLoRT5s1gLXCmeDBVrJpBA=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
|
@ -0,0 +1,51 @@
|
||||||
|
-----BEGIN RSA PRIVATE KEY-----
|
||||||
|
MIIJKAIBAAKCAgEA8eI42aZ18C3CHE8CEcUhMwCbfPleRZg0Egj+gqyiGa/RXjpW
|
||||||
|
m0Zq9MKhOPnal0h2VlFxFNAeyRcy/x7QZloUIDegZYUZUW4lMYiEwF9jSXINlfuz
|
||||||
|
gKQhMPB9wnJhNt+O1gdO3u0FVy1ChBv6eat480gvi0wqEEE6YC09OjFRbErlF1jA
|
||||||
|
FL1QIPOw0xqZrafRp+qfK3DJc8IZsuzhVFIV+CyBA897zrUwbF7aYTGwKotk6w11
|
||||||
|
L1TZwK1iiUSkvAGOu1V6LMod3WlHE8YICp3lPuEsj9ZrnJl0x+3/4XSS7ogcInUd
|
||||||
|
Fopf9odLD6umGk1xDIA7uCm9hlyA/YQBmyYinngXyfy16WTDLdIsCNzZpiRvbPxb
|
||||||
|
xvAp7Exmq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3E60GiZROVcJFgpbRXPBGy5JrpA9M
|
||||||
|
DAhrW6Bl5tWVC3d5lIU36l4Zjc8s7FGNI70CR0zTRvi4XAELS+lrRgvFTUvHtWVc
|
||||||
|
j9DHyanFmjy07INpk3uKIzvCOjIr1cZ0DajO8O6vak6fMoZzS6ebo8tbch+jFUqZ
|
||||||
|
M38bAoIBAQCZRLKWK6HG7alfzmXAGbrFkQe1KdKPPBaX9sL3R1PLdyXuQi/3Zu91
|
||||||
|
RJpXsRYCSEh46D/WxYO2WQOQbvpFI1lbc/py8A6W/gaDfEYm6UdqDYy92MLDl+yH
|
||||||
|
xMrP73OynbkKDJ8kUzs2YD4nxVkI645zT0htD7xrlXZyY4PHTx6ZSQQqJMflBy2d
|
||||||
|
t3r65wIxVx+FO42dRAcFPwgPaH61wdwU95plsGIXHBFl920Y4fvgCFdVJNj1EazT
|
||||||
|
wuk+R4A51nICwyQohB8syMXQ8OBPrl8kbicFACaXzsQYvgeR02XBSnma8CLaPeAc
|
||||||
|
zyMAJ+YKG7ky1B+91BZEPJr1B3IoXtlxAoIBADilYIz2QK+MjhkaTroe3B80yPn9
|
||||||
|
HEZrJU97fWbwFxgj2prITitwVg4wo98/+bnyFyJUESVMZBaiE8zShHW5gmXMdChS
|
||||||
|
DUTKIp9qPB6+YHDnqixgKvRNdR8F2UErxD6Q+sqa9+w7KMjhQirEm7Ffpy+hGqKm
|
||||||
|
fT7mMAWNIV43QaHXD40xakJ+uIqjhXa09V1M+nUbhn9W6Tyqv6i5xu3iNd86MzEh
|
||||||
|
3QCbDqjtE8Dr2DcTkRXLECG9tiQHi5q0OOJPzn0bNoUFQPT8gJ3p14Q7kzhPnXo2
|
||||||
|
qjItUwFJxX+pPx6GQgNt7BYOxRVX34VWH3iaqTVtzCLX5xpUs1fx77bZ+ww=
|
||||||
|
-----END RSA PRIVATE KEY-----
|
||||||
|
|
@ -0,0 +1,107 @@
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIHVzCCBj+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5wAAAZjhSmFuAAAEAwBGMEQCIEAATZWNL2MsRI8ft6btofkC/Knc
|
||||||
|
lwyGLJvHLq2qlBVGAiAFGb4B0iuoMyGQlG3pBMljbBMv0ttabuYCvrpaiPDW0gB3
|
||||||
|
AMIxfldFGaNF7n843rKQQevHwiFaIr9/1bWtdprZDlLNAAABmOFKYUsAAAQDAEgw
|
||||||
|
RgIhAN7L50SSUz931q6+gKVfc1wuaLXpg+YCbj/HF1XGeW4qAiEAyND+GbljokSc
|
||||||
|
xQZXL4WyygvuybxgRTYEBYhxI1g3HIswDQYJKoZIhvcNAQELBQADggEBAFm/7/uy
|
||||||
|
pYyIJYq2P6z8yOWhfDGHHP2yIvuVumYrrTEQ3Qnr7nf6rxHr+iGzoWdx2th15lWH
|
||||||
|
7qoy7TGAXU8Rvf5sReVGjmw97d7wH0/7RLAyTc/BoqE0zJkKEtIue1SsGeLyaU4A
|
||||||
|
gXgTiXR/4LOGnGhMu7lMTnUAXPlTwjqGPFwrNQzpbxYJA9ArMN5J9QTCwNLLmVDc
|
||||||
|
mEFSHwRdp0pSj2qgzAB00oOBliNJOE0lpNOBDHbBDoJvyPQkWc9/r5IW1wFT+iWb
|
||||||
|
hSf96PO6HRS6kWRgvyK24S3EG67o3X60R7BsDIGJMkYB6jRRlzWi7/05IT+RrXsC
|
||||||
|
DIQhj8h1rzW2eyc=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIFjTCCA3WgAwIBAgIRAIN9TriekS/nLK07x2kt3CAwDQYJKoZIhvcNAQELBQAw
|
||||||
|
TDEgMB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjYxEzARBgNVBAoTCkds
|
||||||
|
b2JhbFNpZ24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMjUwNTIxMDIzNjUyWhcN
|
||||||
|
MjcwNTIxMDAwMDAwWjBVMQswCQYDVQQGEwJCRTEZMBcGA1UEChMQR2xvYmFs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QQBoDIKAQMwDQYJKoZIhvcNAQELBQADggIB
|
||||||
|
AB/uvBuZf4CiuSahwiXn4geF52roAH+6jxsEPTXTfb7bbeMDXsYgRRsOTNA70ruZ
|
||||||
|
Tnz5DfFMuBhNoFhIFb0qR1izdy6VkdKOqFPNF2dOFI1EcnY9l2ory9mrzHqVbrL4
|
||||||
|
vzUd17FLUVyjTVU7PAv4nxyhnO1GTeT83YlrdRF31NyR6bvZVTEERHmpbWSgeveJ
|
||||||
|
LRtaMzlGWiLZ8IwkH7o6GH3jp/KPtDW4Npu8w64HrRZdN2pqQhi7+YKwfHM7H+2U
|
||||||
|
dM1BGN0sjOWMVbMSB9MtCsleS2Mb7TRZEbOHxECJLLIluQypZr7Pol3+hAqrhyKI
|
||||||
|
k+6y+Da0NeDuWxW59Ku4NvClqW1UFX1SpfNGhzVfp/CH+vPM1tySomx2jE0EnYZu
|
||||||
|
GwVucXPBsp5nUWqUV9+143glVuS7GTg9hFPjNBInn17HbCoIIQIOzj5Vd9bK3A9U
|
||||||
|
GxXNpwenDHEalCsD/4eQYDHPhFE7sNe0D/OXu+FAM02VZkARx37Jp4bDdujvgL9P
|
||||||
|
vZPR3wThvDN1CTU8Bc3xea3yKFAraKcPZLkhReQUAm2VpR+HSJRPlUpYizlF9WkL
|
||||||
|
h3KcAVCBJWvnOkVwxyU5QJMcnwW95JlOtx+9100GL99jHE5rs3gXp7F4bg8H01QT
|
||||||
|
9jVOhBBmQ7nQoXuwI0tqal2QUqZz3eeu62CU7xBwtfYR
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIFgzCCA2ugAwIBAgIORea7A4Mzw4VlSOb/RVEwDQYJKoZIhvcNAQEMBQAwTDEg
|
||||||
|
MB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjYxEzARBgNVBAoTCkdsb2Jh
|
||||||
|
bFNpZ24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhc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xPioufi1xzWx/B/yGdToDAfBgNVHSMEGDAWgBSu
|
||||||
|
bAWjkxPioufi1xzWx/B/yGdToDANBgkqhkiG9w0BAQwFAAOCAgEAgyXt6NH9lVLN
|
||||||
|
nsAEoJFp5lzQhN7craJP6Ed41mWYqVuoPId8AorRbrcWc+ZfwFSY1XS+wc3iEZGt
|
||||||
|
Ixg93eFyRJa0lV7Ae46ZeBZDE1ZXs6KzO7V33EByrKPrmzU+sQghoefEQzd5Mr61
|
||||||
|
55wsTLxDKZmOMNOsIeDjHfrYBzN2VAAiKrlNIC5waNrlU/yDXNOd8v9EDERm8tLj
|
||||||
|
vUYAGm0CuiVdjaExUd1URhxN25mW7xocBFymFe944Hn+Xds+qkxV/ZoVqW/hpvvf
|
||||||
|
cDDpw+5CRu3CkwWJ+n1jez/QcYF8AOiYrg54NMMl+68KnyBr3TsTjxKM4kEaSHpz
|
||||||
|
oHdpx7Zcf4LIHv5YGygrqGytXm3ABdJ7t+uA/iU3/gKbaKxCXcPu9czc8FB10jZp
|
||||||
|
nOZ7BN9uBmm23goJSFmH63sUYHpkqmlD75HHTOwY3WzvUy2MmeFe8nI+z1TIvWfs
|
||||||
|
pA9MRf/TuTAjB0yPEL+GltmZWrSZVxykzLsViVO6LAUP5MSeGbEYNNVMnbrt9x+v
|
||||||
|
JJUEeKgDu+6B5dpffItKoZB0JaezPkvILFa9x8jvOOJckvB595yEunQtYQEgfn7R
|
||||||
|
8k8HWV+LLUNS60YMlOH1Zkd5d9VUWx+tJDfLRVpOoERIyNiwmcUVhAn21klJwGW4
|
||||||
|
5hpxbqCo8YLoRT5s1gLXCmeDBVrJpBA=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
|
@ -0,0 +1,51 @@
|
||||||
|
-----BEGIN RSA PRIVATE KEY-----
|
||||||
|
MIIJKQIBAAKCAgEA7hfnRE0wqcui37lrren5K4mI+wyuWvyftAg1y3lxDkwqO+32
|
||||||
|
zNZMgVGBr5Tn74EAyuikhQ1l0jiSo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BZuVOzOqcO4g5lYymYVbBq1cv6NQeMJG1vS/JEwG
|
||||||
|
6qXYbW7tjsnMo12JMCmfflFyu5xzBd3AjCkMl7z4N2P6yZqyrQfnzArXWsgftb4S
|
||||||
|
leYz8VgdzRftQAoe2VHO/IIN7D3yKMU2SuSc24Rwrwjc4KXCqtK0EPYzi74cyO2v
|
||||||
|
1Ft2hTkd23IfJ/lSGDgk5K/nbhvJqiRqz0OIKACe8/w/0qwuLpbvqWkupGzN
|
||||||
|
-----END RSA PRIVATE KEY-----
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
NUXT_HOST=0.0.0.0
|
|
||||||
NUXT_PORT=3000
|
|
||||||
NUXT_ENV_DEVALUE_LOG_LEVEL=silent
|
|
||||||
WS_PROTOCOL=wss
|
|
||||||
BASE_URL=dot-dot.ru
|
|
||||||
API_URL=https://dot-dot.ru/
|
|
||||||
DOMAIN=dot-dot.ru
|
|
||||||
|
|
||||||
APP_HOST=dot-dot.ru
|
|
||||||
APP_SCHEME=https
|
|
||||||
APP_ENVIRONMENT=production
|
|
||||||
DADATA_API_TOKEN=c9aa5fdc338a746e23ce91ceb6fdb9e635749833
|
|
||||||
YANDEX_METRIKA_ID=50156956
|
|
||||||
PHONE_KEY=qwefghzcx
|
|
||||||
|
|
||||||
SMARTCAPTCHA_CLIENT_KEY=ysc1_GLQZ8QPaFh0eXqZ5KaRM0WJYqoP9vL0uqhujfcw75c1487df
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
APP_ENV=dev
|
APP_ENV=prod
|
||||||
APP_SECRET=c35a0abba25a5396d74ec17fca238d9a
|
APP_SECRET=c35a0abba25a5396d74ec17fca238d9a
|
||||||
|
|
||||||
|
CONTAINER_NAME=php
|
||||||
|
|
||||||
LOCK_DSN=flock
|
LOCK_DSN=flock
|
||||||
PHP_SOCKET_PORT=8080
|
PHP_SOCKET_PORT=8080
|
||||||
|
|
||||||
|
|
@ -8,7 +10,7 @@ DATABASE_URL_DOT=mysql://root:ahwaireiNeebeeW9keiZ@db:3306/dot?serverVersion=mar
|
||||||
DATABASE_URL_DOT_STATISTIC=mysql://root:ahwaireiNeebeeW9keiZ@db:3306/dot_statistic?serverVersion=mariadb-10.3.25
|
DATABASE_URL_DOT_STATISTIC=mysql://root:ahwaireiNeebeeW9keiZ@db:3306/dot_statistic?serverVersion=mariadb-10.3.25
|
||||||
|
|
||||||
DOCUMENT_ROOT=/application
|
DOCUMENT_ROOT=/application
|
||||||
APP_HOST=dot-dot.ru
|
APP_HOST=c2d.dot-dot.ru
|
||||||
APP_SCHEME=https
|
APP_SCHEME=https
|
||||||
|
|
||||||
MAILER_DSN=null://null
|
MAILER_DSN=null://null
|
||||||
|
|
@ -21,7 +23,7 @@ SP_PASSWORD=xmlweb
|
||||||
SP_KEY=secret
|
SP_KEY=secret
|
||||||
SP_TEST=true
|
SP_TEST=true
|
||||||
|
|
||||||
SP_V3_URL=https://spasskievorota.ru/services/test/cargo_3.php
|
SP_V3_URL=https://spasskievorota.ru/services/work/cargo_3.php
|
||||||
SP_V3_KEY=secret
|
SP_V3_KEY=secret
|
||||||
|
|
||||||
DEFAULT_EMAIL=no_reply@dot-dot.ru
|
DEFAULT_EMAIL=no_reply@dot-dot.ru
|
||||||
|
|
@ -130,3 +132,17 @@ SOVKOM_API_URL=secret
|
||||||
###< SOVKOM###
|
###< SOVKOM###
|
||||||
|
|
||||||
MAGIC_API_URL=https://magic-trans.ru/
|
MAGIC_API_URL=https://magic-trans.ru/
|
||||||
|
|
||||||
|
SMS_PROVIDER=prostor-sms
|
||||||
|
PROSTOR_SMS_END_POINT_URL=http://api.prostor-sms.ru
|
||||||
|
PROSTOR_SMS_LOGIN=secret
|
||||||
|
PROSTOR_SMS_PASSWORD=secret
|
||||||
|
|
||||||
|
###> OTK ###
|
||||||
|
OTK_API_END_POINT_URL="https://test-api.otk.su"
|
||||||
|
OTK_API_TOKEN="Q5vBE9jusg38Rk7wHt2bzycT4K6pePFZ"
|
||||||
|
###< OTK ###
|
||||||
|
|
||||||
|
ACCOUNTING_AUDIT_URL=https://crm.dot-dot.ru
|
||||||
|
ACCOUNTING_AUDIT_LOGIN=secret
|
||||||
|
ACCOUNTING_AUDIT_PASSWORD=secret
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
APP_ENV=prod
|
|
||||||
|
APP_ENV=dev
|
||||||
|
|
||||||
DATABASE_URL=mysql://root:ahwaireiNeebeeW9keiZ@db:3306/dot?serverVersion=mariadb-10.3.25
|
DATABASE_URL=mysql://root:ahwaireiNeebeeW9keiZ@db:3306/dot?serverVersion=mariadb-10.3.25
|
||||||
|
|
||||||
|
|
@ -54,7 +55,7 @@ THREESELLER_PASSWORD=Logistika01
|
||||||
NUXT_BASE_URL=dot-dot.ru
|
NUXT_BASE_URL=dot-dot.ru
|
||||||
|
|
||||||
ATISU_API_TOKEN_OLD=a9698671a68441c7b3959e43995d1506
|
ATISU_API_TOKEN_OLD=a9698671a68441c7b3959e43995d1506
|
||||||
ATISU_API_TOKEN=25d7e2857f7f4b65a408d7664899aed7
|
ATISU_API_TOKEN=46b599c3ab7f4574b560f48ea005d9f3
|
||||||
|
|
||||||
###> google/apiclient ###
|
###> google/apiclient ###
|
||||||
ANALITIC_GOOGLE_CLIENT_ID=672035500859-32f85hchubthu9givkdtgkqhvjg00c8e.apps.googleusercontent.com
|
ANALITIC_GOOGLE_CLIENT_ID=672035500859-32f85hchubthu9givkdtgkqhvjg00c8e.apps.googleusercontent.com
|
||||||
|
|
@ -139,9 +140,6 @@ DPD_CLIENT_NUMBER=1001066989
|
||||||
DPD_CLIENT_KEY=8D52BF0F4D272FA91AF7B8EFC64C74EA31B89C4D
|
DPD_CLIENT_KEY=8D52BF0F4D272FA91AF7B8EFC64C74EA31B89C4D
|
||||||
###< DPD ###
|
###< DPD ###
|
||||||
|
|
||||||
|
|
||||||
ACCOUNTING_AUDIT_URL="https://crm.dot-dot.ru/TTLBuhreport/hs/TT/reconciliationreport"
|
|
||||||
|
|
||||||
PAPA_FINANCE_API_URL=https://prod.papafinance.ru/api/ttn
|
PAPA_FINANCE_API_URL=https://prod.papafinance.ru/api/ttn
|
||||||
PAPA_FINANCE_PASSWORD='4sw$!cN#2j$tvcm2'
|
PAPA_FINANCE_PASSWORD='4sw$!cN#2j$tvcm2'
|
||||||
PAPA_FINANCE_LOGIN=tochka-tochka-logistika
|
PAPA_FINANCE_LOGIN=tochka-tochka-logistika
|
||||||
|
|
@ -163,7 +161,7 @@ YTRACKER_ORGANISATION_ID=355207
|
||||||
|
|
||||||
SMARTCAPTCHA_SERVER_KEY=ysc2_GLQZ8QPaFh0eXqZ5KaRMuRRZOX7qNNMy7P9Mq82V6c4e7b81
|
SMARTCAPTCHA_SERVER_KEY=ysc2_GLQZ8QPaFh0eXqZ5KaRMuRRZOX7qNNMy7P9Mq82V6c4e7b81
|
||||||
|
|
||||||
ML_REGULAR_DIRECTION_RELEVANCE_CARRIERS_URL=https://ml.dot-dot.ru/v1/schedule/carrier/scoring
|
ML_REGULAR_DIRECTION_RELEVANCE_CARRIERS_URL=https://ml.dot-dot.ru/v2/schedule/carrier/scoring
|
||||||
|
|
||||||
ML_UNCERTAIN_DIRECTIONS_URL=https://ml.dot-dot.ru/v1/classification/direction/uncertain
|
ML_UNCERTAIN_DIRECTIONS_URL=https://ml.dot-dot.ru/v1/classification/direction/uncertain
|
||||||
|
|
||||||
|
|
@ -172,3 +170,37 @@ SENTRY_DSN="https://eedc2e8b1310ec9b04c2b0da8490dc01@sentry.dot-dot.ru/3"
|
||||||
SENTRY_SERVER_NAME=prod
|
SENTRY_SERVER_NAME=prod
|
||||||
SENTRY_SERVER_USER_NAME=admin
|
SENTRY_SERVER_USER_NAME=admin
|
||||||
###< sentry/sentry-symfony ###
|
###< sentry/sentry-symfony ###
|
||||||
|
|
||||||
|
ML_CALCULATOR_TRADE_ONLY_URL=https://ml.dot-dot.ru/v1/tender/price
|
||||||
|
|
||||||
|
ML_REGULAR_DIRECTION_HISTORY_ORDER_URL=https://ml.dot-dot.ru/v1/schedule/transport/orders
|
||||||
|
|
||||||
|
QUEUE_DSN_OC_CARRIER_OFFERS=amqp://ddadmin:Utahth9aeshahgh3saik@rabbitmq:5672/%2f/OC_CARRIER_OFFERS
|
||||||
|
QUEUE_DSN_STATISTIC_EXPORT=amqp://ddadmin:Utahth9aeshahgh3saik@rabbitmq:5672/%2f/STATISTIC_EXPORT
|
||||||
|
|
||||||
|
CRYPTOPRO_PATH='/opt/cprocsp/bin/amd64/cryptcp -sign -dn '"ООО ""ТОЧКА-ТОЧКА ЛОГИСТИКА"""' -der'
|
||||||
|
SIGNED_DOC_PATH="/application/var/documents/signeddocs"
|
||||||
|
ABSOLUTE_SIGNED_DOC_PATH="/home/ddadmin/demolms/signeddocs"
|
||||||
|
|
||||||
|
CHROMIUM_BROWSER_SYS_PATH="/usr/bin/chromium-browser"
|
||||||
|
|
||||||
|
###> API_KONTUR_FOCUS###
|
||||||
|
USER_TRUST_API_KONTUR_FOCUS_END_POINT_URL=https://focus-api.kontur.ru
|
||||||
|
USER_TRUST_API_KONTUR_FOCUS_API_TOKEN=90ac3a27a097dbab7045f2dcc2cd8f9883503610
|
||||||
|
USER_TRUST_CHECK_BACKEND=true
|
||||||
|
###< API_KONTUR_FOCUS###
|
||||||
|
|
||||||
|
QUEUE_DSN_USER_TRUST=amqp://ddadmin:Utahth9aeshahgh3saik@rabbitmq:5672/%2f/USER_TRUST
|
||||||
|
|
||||||
|
PROSTOR_SMS_LOGIN=ap142656
|
||||||
|
PROSTOR_SMS_PASSWORD=808350
|
||||||
|
|
||||||
|
###> OTK ###
|
||||||
|
OTK_API_END_POINT_URL="https://api.otk.su"
|
||||||
|
OTK_API_TOKEN="wSMxTp3ye9mtPcNG7CbQszq6VLK38jaQ"
|
||||||
|
###< OTK ###
|
||||||
|
|
||||||
|
ACCOUNTING_AUDIT_LOGIN=ReportServis
|
||||||
|
ACCOUNTING_AUDIT_PASSWORD=fE7mubiv
|
||||||
|
|
||||||
|
ML_CALCULATOR_SPOT_URL=https://ml.dot-dot.ru/v1/price_calculator/spot
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,455 @@
|
||||||
|
; Start a new pool named 'www'.
|
||||||
|
; the variable $pool can be used in any directive and will be replaced by the
|
||||||
|
; pool name ('www' here)
|
||||||
|
[www]
|
||||||
|
|
||||||
|
; Per pool prefix
|
||||||
|
; It only applies on the following directives:
|
||||||
|
; - 'access.log'
|
||||||
|
; - 'slowlog'
|
||||||
|
; - 'listen' (unixsocket)
|
||||||
|
; - 'chroot'
|
||||||
|
; - 'chdir'
|
||||||
|
; - 'php_values'
|
||||||
|
; - 'php_admin_values'
|
||||||
|
; When not set, the global prefix (or NONE) applies instead.
|
||||||
|
; Note: This directive can also be relative to the global prefix.
|
||||||
|
; Default Value: none
|
||||||
|
;prefix = /path/to/pools/$pool
|
||||||
|
|
||||||
|
; Unix user/group of processes
|
||||||
|
; Note: The user is mandatory. If the group is not set, the default user's group
|
||||||
|
; will be used.
|
||||||
|
user = www-data
|
||||||
|
group = www-data
|
||||||
|
|
||||||
|
; The address on which to accept FastCGI requests.
|
||||||
|
; Valid syntaxes are:
|
||||||
|
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on
|
||||||
|
; a specific port;
|
||||||
|
; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
|
||||||
|
; a specific port;
|
||||||
|
; 'port' - to listen on a TCP socket to all addresses
|
||||||
|
; (IPv6 and IPv4-mapped) on a specific port;
|
||||||
|
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||||
|
; Note: This value is mandatory.
|
||||||
|
listen = 127.0.0.1:9000
|
||||||
|
|
||||||
|
; Set listen(2) backlog.
|
||||||
|
; Default Value: 511 (-1 on FreeBSD and OpenBSD)
|
||||||
|
;listen.backlog = 511
|
||||||
|
|
||||||
|
; Set permissions for unix socket, if one is used. In Linux, read/write
|
||||||
|
; permissions must be set in order to allow connections from a web server. Many
|
||||||
|
; BSD-derived systems allow connections regardless of permissions. The owner
|
||||||
|
; and group can be specified either by name or by their numeric IDs.
|
||||||
|
; Default Values: user and group are set as the running user
|
||||||
|
; mode is set to 0660
|
||||||
|
;listen.owner = www-data
|
||||||
|
;listen.group = www-data
|
||||||
|
;listen.mode = 0660
|
||||||
|
; When POSIX Access Control Lists are supported you can set them using
|
||||||
|
; these options, value is a comma separated list of user/group names.
|
||||||
|
; When set, listen.owner and listen.group are ignored
|
||||||
|
;listen.acl_users =
|
||||||
|
;listen.acl_groups =
|
||||||
|
|
||||||
|
; List of addresses (IPv4/IPv6) of FastCGI clients which are allowed to connect.
|
||||||
|
; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
|
||||||
|
; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address
|
||||||
|
; must be separated by a comma. If this value is left blank, connections will be
|
||||||
|
; accepted from any ip address.
|
||||||
|
; Default Value: any
|
||||||
|
;listen.allowed_clients = 127.0.0.1
|
||||||
|
|
||||||
|
; Specify the nice(2) priority to apply to the pool processes (only if set)
|
||||||
|
; The value can vary from -19 (highest priority) to 20 (lower priority)
|
||||||
|
; Note: - It will only work if the FPM master process is launched as root
|
||||||
|
; - The pool processes will inherit the master process priority
|
||||||
|
; unless it specified otherwise
|
||||||
|
; Default Value: no set
|
||||||
|
; process.priority = -19
|
||||||
|
|
||||||
|
; Set the process dumpable flag (PR_SET_DUMPABLE prctl) even if the process user
|
||||||
|
; or group is different than the master process user. It allows to create process
|
||||||
|
; core dump and ptrace the process for the pool user.
|
||||||
|
; Default Value: no
|
||||||
|
; process.dumpable = yes
|
||||||
|
|
||||||
|
; Choose how the process manager will control the number of child processes.
|
||||||
|
; Possible Values:
|
||||||
|
; static - a fixed number (pm.max_children) of child processes;
|
||||||
|
; dynamic - the number of child processes are set dynamically based on the
|
||||||
|
; following directives. With this process management, there will be
|
||||||
|
; always at least 1 children.
|
||||||
|
; pm.max_children - the maximum number of children that can
|
||||||
|
; be alive at the same time.
|
||||||
|
; pm.start_servers - the number of children created on startup.
|
||||||
|
; pm.min_spare_servers - the minimum number of children in 'idle'
|
||||||
|
; state (waiting to process). If the number
|
||||||
|
; of 'idle' processes is less than this
|
||||||
|
; number then some children will be created.
|
||||||
|
; pm.max_spare_servers - the maximum number of children in 'idle'
|
||||||
|
; state (waiting to process). If the number
|
||||||
|
; of 'idle' processes is greater than this
|
||||||
|
; number then some children will be killed.
|
||||||
|
; ondemand - no children are created at startup. Children will be forked when
|
||||||
|
; new requests will connect. The following parameter are used:
|
||||||
|
; pm.max_children - the maximum number of children that
|
||||||
|
; can be alive at the same time.
|
||||||
|
; pm.process_idle_timeout - The number of seconds after which
|
||||||
|
; an idle process will be killed.
|
||||||
|
; Note: This value is mandatory.
|
||||||
|
pm = dynamic
|
||||||
|
|
||||||
|
; The number of child processes to be created when pm is set to 'static' and the
|
||||||
|
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
|
||||||
|
; This value sets the limit on the number of simultaneous requests that will be
|
||||||
|
; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
|
||||||
|
; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
|
||||||
|
; CGI. The below defaults are based on a server without much resources. Don't
|
||||||
|
; forget to tweak pm.* to fit your needs.
|
||||||
|
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
||||||
|
; Note: This value is mandatory.
|
||||||
|
pm.max_children = 25
|
||||||
|
|
||||||
|
; The number of child processes created on startup.
|
||||||
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
|
; Default Value: (min_spare_servers + max_spare_servers) / 2
|
||||||
|
pm.start_servers = 10
|
||||||
|
|
||||||
|
; The desired minimum number of idle server processes.
|
||||||
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
|
; Note: Mandatory when pm is set to 'dynamic'
|
||||||
|
pm.min_spare_servers = 10
|
||||||
|
|
||||||
|
; The desired maximum number of idle server processes.
|
||||||
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
|
; Note: Mandatory when pm is set to 'dynamic'
|
||||||
|
pm.max_spare_servers = 20
|
||||||
|
|
||||||
|
; The number of seconds after which an idle process will be killed.
|
||||||
|
; Note: Used only when pm is set to 'ondemand'
|
||||||
|
; Default Value: 10s
|
||||||
|
;pm.process_idle_timeout = 10s;
|
||||||
|
|
||||||
|
; The number of requests each child process should execute before respawning.
|
||||||
|
; This can be useful to work around memory leaks in 3rd party libraries. For
|
||||||
|
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
|
||||||
|
; Default Value: 0
|
||||||
|
;pm.max_requests = 500
|
||||||
|
|
||||||
|
; The URI to view the FPM status page. If this value is not set, no URI will be
|
||||||
|
; recognized as a status page. It shows the following information:
|
||||||
|
; pool - the name of the pool;
|
||||||
|
; process manager - static, dynamic or ondemand;
|
||||||
|
; start time - the date and time FPM has started;
|
||||||
|
; start since - number of seconds since FPM has started;
|
||||||
|
; accepted conn - the number of request accepted by the pool;
|
||||||
|
; listen queue - the number of request in the queue of pending
|
||||||
|
; connections (see backlog in listen(2));
|
||||||
|
; max listen queue - the maximum number of requests in the queue
|
||||||
|
; of pending connections since FPM has started;
|
||||||
|
; listen queue len - the size of the socket queue of pending connections;
|
||||||
|
; idle processes - the number of idle processes;
|
||||||
|
; active processes - the number of active processes;
|
||||||
|
; total processes - the number of idle + active processes;
|
||||||
|
; max active processes - the maximum number of active processes since FPM
|
||||||
|
; has started;
|
||||||
|
; max children reached - number of times, the process limit has been reached,
|
||||||
|
; when pm tries to start more children (works only for
|
||||||
|
; pm 'dynamic' and 'ondemand');
|
||||||
|
; Value are updated in real time.
|
||||||
|
; Example output:
|
||||||
|
; pool: www
|
||||||
|
; process manager: static
|
||||||
|
; start time: 01/Jul/2011:17:53:49 +0200
|
||||||
|
; start since: 62636
|
||||||
|
; accepted conn: 190460
|
||||||
|
; listen queue: 0
|
||||||
|
; max listen queue: 1
|
||||||
|
; listen queue len: 42
|
||||||
|
; idle processes: 4
|
||||||
|
; active processes: 11
|
||||||
|
; total processes: 15
|
||||||
|
; max active processes: 12
|
||||||
|
; max children reached: 0
|
||||||
|
;
|
||||||
|
; By default the status page output is formatted as text/plain. Passing either
|
||||||
|
; 'html', 'xml' or 'json' in the query string will return the corresponding
|
||||||
|
; output syntax. Example:
|
||||||
|
; http://www.foo.bar/status
|
||||||
|
; http://www.foo.bar/status?json
|
||||||
|
; http://www.foo.bar/status?html
|
||||||
|
; http://www.foo.bar/status?xml
|
||||||
|
;
|
||||||
|
; By default the status page only outputs short status. Passing 'full' in the
|
||||||
|
; query string will also return status for each pool process.
|
||||||
|
; Example:
|
||||||
|
; http://www.foo.bar/status?full
|
||||||
|
; http://www.foo.bar/status?json&full
|
||||||
|
; http://www.foo.bar/status?html&full
|
||||||
|
; http://www.foo.bar/status?xml&full
|
||||||
|
; The Full status returns for each process:
|
||||||
|
; pid - the PID of the process;
|
||||||
|
; state - the state of the process (Idle, Running, ...);
|
||||||
|
; start time - the date and time the process has started;
|
||||||
|
; start since - the number of seconds since the process has started;
|
||||||
|
; requests - the number of requests the process has served;
|
||||||
|
; request duration - the duration in µs of the requests;
|
||||||
|
; request method - the request method (GET, POST, ...);
|
||||||
|
; request URI - the request URI with the query string;
|
||||||
|
; content length - the content length of the request (only with POST);
|
||||||
|
; user - the user (PHP_AUTH_USER) (or '-' if not set);
|
||||||
|
; script - the main script called (or '-' if not set);
|
||||||
|
; last request cpu - the %cpu the last request consumed
|
||||||
|
; it's always 0 if the process is not in Idle state
|
||||||
|
; because CPU calculation is done when the request
|
||||||
|
; processing has terminated;
|
||||||
|
; last request memory - the max amount of memory the last request consumed
|
||||||
|
; it's always 0 if the process is not in Idle state
|
||||||
|
; because memory calculation is done when the request
|
||||||
|
; processing has terminated;
|
||||||
|
; If the process is in Idle state, then informations are related to the
|
||||||
|
; last request the process has served. Otherwise informations are related to
|
||||||
|
; the current request being served.
|
||||||
|
; Example output:
|
||||||
|
; ************************
|
||||||
|
; pid: 31330
|
||||||
|
; state: Running
|
||||||
|
; start time: 01/Jul/2011:17:53:49 +0200
|
||||||
|
; start since: 63087
|
||||||
|
; requests: 12808
|
||||||
|
; request duration: 1250261
|
||||||
|
; request method: GET
|
||||||
|
; request URI: /test_mem.php?N=10000
|
||||||
|
; content length: 0
|
||||||
|
; user: -
|
||||||
|
; script: /home/fat/web/docs/php/test_mem.php
|
||||||
|
; last request cpu: 0.00
|
||||||
|
; last request memory: 0
|
||||||
|
;
|
||||||
|
; Note: There is a real-time FPM status monitoring sample web page available
|
||||||
|
; It's available in: /usr/local/share/php/fpm/status.html
|
||||||
|
;
|
||||||
|
; Note: The value must start with a leading slash (/). The value can be
|
||||||
|
; anything, but it may not be a good idea to use the .php extension or it
|
||||||
|
; may conflict with a real PHP file.
|
||||||
|
; Default Value: not set
|
||||||
|
;pm.status_path = /status
|
||||||
|
|
||||||
|
; The address on which to accept FastCGI status request. This creates a new
|
||||||
|
; invisible pool that can handle requests independently. This is useful
|
||||||
|
; if the main pool is busy with long running requests because it is still possible
|
||||||
|
; to get the status before finishing the long running requests.
|
||||||
|
;
|
||||||
|
; Valid syntaxes are:
|
||||||
|
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on
|
||||||
|
; a specific port;
|
||||||
|
; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
|
||||||
|
; a specific port;
|
||||||
|
; 'port' - to listen on a TCP socket to all addresses
|
||||||
|
; (IPv6 and IPv4-mapped) on a specific port;
|
||||||
|
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||||
|
; Default Value: value of the listen option
|
||||||
|
;pm.status_listen = 127.0.0.1:9001
|
||||||
|
|
||||||
|
; The ping URI to call the monitoring page of FPM. If this value is not set, no
|
||||||
|
; URI will be recognized as a ping page. This could be used to test from outside
|
||||||
|
; that FPM is alive and responding, or to
|
||||||
|
; - create a graph of FPM availability (rrd or such);
|
||||||
|
; - remove a server from a group if it is not responding (load balancing);
|
||||||
|
; - trigger alerts for the operating team (24/7).
|
||||||
|
; Note: The value must start with a leading slash (/). The value can be
|
||||||
|
; anything, but it may not be a good idea to use the .php extension or it
|
||||||
|
; may conflict with a real PHP file.
|
||||||
|
; Default Value: not set
|
||||||
|
;ping.path = /ping
|
||||||
|
|
||||||
|
; This directive may be used to customize the response of a ping request. The
|
||||||
|
; response is formatted as text/plain with a 200 response code.
|
||||||
|
; Default Value: pong
|
||||||
|
;ping.response = pong
|
||||||
|
|
||||||
|
; The access log file
|
||||||
|
; Default: not set
|
||||||
|
;access.log = log/$pool.access.log
|
||||||
|
|
||||||
|
; The access log format.
|
||||||
|
; The following syntax is allowed
|
||||||
|
; %%: the '%' character
|
||||||
|
; %C: %CPU used by the request
|
||||||
|
; it can accept the following format:
|
||||||
|
; - %{user}C for user CPU only
|
||||||
|
; - %{system}C for system CPU only
|
||||||
|
; - %{total}C for user + system CPU (default)
|
||||||
|
; %d: time taken to serve the request
|
||||||
|
; it can accept the following format:
|
||||||
|
; - %{seconds}d (default)
|
||||||
|
; - %{milliseconds}d
|
||||||
|
; - %{mili}d
|
||||||
|
; - %{microseconds}d
|
||||||
|
; - %{micro}d
|
||||||
|
; %e: an environment variable (same as $_ENV or $_SERVER)
|
||||||
|
; it must be associated with embraces to specify the name of the env
|
||||||
|
; variable. Some examples:
|
||||||
|
; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e
|
||||||
|
; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e
|
||||||
|
; %f: script filename
|
||||||
|
; %l: content-length of the request (for POST request only)
|
||||||
|
; %m: request method
|
||||||
|
; %M: peak of memory allocated by PHP
|
||||||
|
; it can accept the following format:
|
||||||
|
; - %{bytes}M (default)
|
||||||
|
; - %{kilobytes}M
|
||||||
|
; - %{kilo}M
|
||||||
|
; - %{megabytes}M
|
||||||
|
; - %{mega}M
|
||||||
|
; %n: pool name
|
||||||
|
; %o: output header
|
||||||
|
; it must be associated with embraces to specify the name of the header:
|
||||||
|
; - %{Content-Type}o
|
||||||
|
; - %{X-Powered-By}o
|
||||||
|
; - %{Transfert-Encoding}o
|
||||||
|
; - ....
|
||||||
|
; %p: PID of the child that serviced the request
|
||||||
|
; %P: PID of the parent of the child that serviced the request
|
||||||
|
; %q: the query string
|
||||||
|
; %Q: the '?' character if query string exists
|
||||||
|
; %r: the request URI (without the query string, see %q and %Q)
|
||||||
|
; %R: remote IP address
|
||||||
|
; %s: status (response code)
|
||||||
|
; %t: server time the request was received
|
||||||
|
; it can accept a strftime(3) format:
|
||||||
|
; %d/%b/%Y:%H:%M:%S %z (default)
|
||||||
|
; The strftime(3) format must be encapsuled in a %{<strftime_format>}t tag
|
||||||
|
; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t
|
||||||
|
; %T: time the log has been written (the request has finished)
|
||||||
|
; it can accept a strftime(3) format:
|
||||||
|
; %d/%b/%Y:%H:%M:%S %z (default)
|
||||||
|
; The strftime(3) format must be encapsuled in a %{<strftime_format>}t tag
|
||||||
|
; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t
|
||||||
|
; %u: remote user
|
||||||
|
;
|
||||||
|
; Default: "%R - %u %t \"%m %r\" %s"
|
||||||
|
;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
|
||||||
|
|
||||||
|
; The log file for slow requests
|
||||||
|
; Default Value: not set
|
||||||
|
; Note: slowlog is mandatory if request_slowlog_timeout is set
|
||||||
|
;slowlog = log/$pool.log.slow
|
||||||
|
|
||||||
|
; The timeout for serving a single request after which a PHP backtrace will be
|
||||||
|
; dumped to the 'slowlog' file. A value of '0s' means 'off'.
|
||||||
|
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
|
||||||
|
; Default Value: 0
|
||||||
|
;request_slowlog_timeout = 0
|
||||||
|
|
||||||
|
; Depth of slow log stack trace.
|
||||||
|
; Default Value: 20
|
||||||
|
;request_slowlog_trace_depth = 20
|
||||||
|
|
||||||
|
; The timeout for serving a single request after which the worker process will
|
||||||
|
; be killed. This option should be used when the 'max_execution_time' ini option
|
||||||
|
; does not stop script execution for some reason. A value of '0' means 'off'.
|
||||||
|
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
|
||||||
|
; Default Value: 0
|
||||||
|
;request_terminate_timeout = 0
|
||||||
|
|
||||||
|
; The timeout set by 'request_terminate_timeout' ini option is not engaged after
|
||||||
|
; application calls 'fastcgi_finish_request' or when application has finished and
|
||||||
|
; shutdown functions are being called (registered via register_shutdown_function).
|
||||||
|
; This option will enable timeout limit to be applied unconditionally
|
||||||
|
; even in such cases.
|
||||||
|
; Default Value: no
|
||||||
|
;request_terminate_timeout_track_finished = no
|
||||||
|
|
||||||
|
; Set open file descriptor rlimit.
|
||||||
|
; Default Value: system defined value
|
||||||
|
;rlimit_files = 1024
|
||||||
|
|
||||||
|
; Set max core size rlimit.
|
||||||
|
; Possible Values: 'unlimited' or an integer greater or equal to 0
|
||||||
|
; Default Value: system defined value
|
||||||
|
;rlimit_core = 0
|
||||||
|
|
||||||
|
; Chroot to this directory at the start. This value must be defined as an
|
||||||
|
; absolute path. When this value is not set, chroot is not used.
|
||||||
|
; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
|
||||||
|
; of its subdirectories. If the pool prefix is not set, the global prefix
|
||||||
|
; will be used instead.
|
||||||
|
; Note: chrooting is a great security feature and should be used whenever
|
||||||
|
; possible. However, all PHP paths will be relative to the chroot
|
||||||
|
; (error_log, sessions.save_path, ...).
|
||||||
|
; Default Value: not set
|
||||||
|
;chroot =
|
||||||
|
|
||||||
|
; Chdir to this directory at the start.
|
||||||
|
; Note: relative path can be used.
|
||||||
|
; Default Value: current directory or / when chroot
|
||||||
|
;chdir = /var/www
|
||||||
|
|
||||||
|
; Redirect worker stdout and stderr into main error log. If not set, stdout and
|
||||||
|
; stderr will be redirected to /dev/null according to FastCGI specs.
|
||||||
|
; Note: on highloaded environment, this can cause some delay in the page
|
||||||
|
; process time (several ms).
|
||||||
|
; Default Value: no
|
||||||
|
;catch_workers_output = yes
|
||||||
|
|
||||||
|
; Decorate worker output with prefix and suffix containing information about
|
||||||
|
; the child that writes to the log and if stdout or stderr is used as well as
|
||||||
|
; log level and time. This options is used only if catch_workers_output is yes.
|
||||||
|
; Settings to "no" will output data as written to the stdout or stderr.
|
||||||
|
; Default value: yes
|
||||||
|
;decorate_workers_output = no
|
||||||
|
|
||||||
|
; Clear environment in FPM workers
|
||||||
|
; Prevents arbitrary environment variables from reaching FPM worker processes
|
||||||
|
; by clearing the environment in workers before env vars specified in this
|
||||||
|
; pool configuration are added.
|
||||||
|
; Setting to "no" will make all environment variables available to PHP code
|
||||||
|
; via getenv(), $_ENV and $_SERVER.
|
||||||
|
; Default Value: yes
|
||||||
|
;clear_env = no
|
||||||
|
|
||||||
|
; Limits the extensions of the main script FPM will allow to parse. This can
|
||||||
|
; prevent configuration mistakes on the web server side. You should only limit
|
||||||
|
; FPM to .php extensions to prevent malicious users to use other extensions to
|
||||||
|
; execute php code.
|
||||||
|
; Note: set an empty value to allow all extensions.
|
||||||
|
; Default Value: .php
|
||||||
|
;security.limit_extensions = .php .php3 .php4 .php5 .php7
|
||||||
|
|
||||||
|
; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
|
||||||
|
; the current environment.
|
||||||
|
; Default Value: clean env
|
||||||
|
;env[HOSTNAME] = $HOSTNAME
|
||||||
|
;env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||||
|
;env[TMP] = /tmp
|
||||||
|
;env[TMPDIR] = /tmp
|
||||||
|
;env[TEMP] = /tmp
|
||||||
|
|
||||||
|
; Additional php.ini defines, specific to this pool of workers. These settings
|
||||||
|
; overwrite the values previously defined in the php.ini. The directives are the
|
||||||
|
; same as the PHP SAPI:
|
||||||
|
; php_value/php_flag - you can set classic ini defines which can
|
||||||
|
; be overwritten from PHP call 'ini_set'.
|
||||||
|
; php_admin_value/php_admin_flag - these directives won't be overwritten by
|
||||||
|
; PHP call 'ini_set'
|
||||||
|
; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
|
||||||
|
|
||||||
|
; Defining 'extension' will load the corresponding shared extension from
|
||||||
|
; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
|
||||||
|
; overwrite previously defined php.ini values, but will append the new value
|
||||||
|
; instead.
|
||||||
|
|
||||||
|
; Note: path INI options can be relative and will be expanded with the prefix
|
||||||
|
; (pool, global or /usr/local)
|
||||||
|
|
||||||
|
; Default Value: nothing is defined by default except the values in php.ini and
|
||||||
|
; specified at startup with the -d argument
|
||||||
|
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
|
||||||
|
;php_flag[display_errors] = off
|
||||||
|
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
||||||
|
;php_admin_flag[log_errors] = on
|
||||||
|
;php_admin_value[memory_limit] = 32M
|
||||||
|
|
@ -1,16 +1,30 @@
|
||||||
version: "3.3"
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
certbot_volume:
|
certbot_volume:
|
||||||
nginx_log_volume:
|
nginx_log_volume:
|
||||||
mysql_data_volume:
|
mysql_data_volume:
|
||||||
mysql_backup_volume:
|
mysql_backup_volume:
|
||||||
php_var_volume:
|
php_var_volume:
|
||||||
bookstack_data_volume:
|
|
||||||
rabbitmq_volume:
|
rabbitmq_volume:
|
||||||
redis_volume:
|
redis_volume:
|
||||||
|
php_support_volume:
|
||||||
|
|
||||||
|
|
||||||
|
x-defaults-php: &defaults-php
|
||||||
|
image: registry.dot-dot.ru/dot-dot:${DOTDOT_TAG}
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ./configs/php/.env:/application/.env
|
||||||
|
- ./configs/php/.env.local:/application/.env.local
|
||||||
|
- ./configs/php/zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf
|
||||||
|
- php_var_volume:/application/var
|
||||||
|
- php_support_volume:/application/var/support-issue
|
||||||
|
- ./configs/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
|
||||||
|
- ./configs/php/firebase-fcm-dotdot-key.json:/application/config/firebase-fcm-dotdot-key.json
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
networks:
|
||||||
|
- dd
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
dd:
|
dd:
|
||||||
name: ${NETWORK}
|
name: ${NETWORK}
|
||||||
|
|
@ -45,19 +59,30 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- dd
|
- dd
|
||||||
|
|
||||||
php:
|
backend:
|
||||||
image: registry.dot-dot.ru/dot-dot:${DOTDOT_TAG}
|
<<: *defaults-php
|
||||||
# command: "php-fpm && nginx -g 'daemon off;'"
|
# command: "php-fpm && nginx -g 'daemon off;'"
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
php:
|
||||||
- ./configs/php/.env:/application/.env
|
# TODO: Денис должен переделать и добавить
|
||||||
- ./configs/php/.env.local:/application/.env.local
|
command: ./bin/console app:auction:reload
|
||||||
- ./configs/php/zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf
|
<<: *defaults-php
|
||||||
- php_var_volume:/application/var
|
|
||||||
depends_on:
|
statistic-export:
|
||||||
- db
|
<<: *defaults-php
|
||||||
networks:
|
command: ./bin/console messenger:consume StatisticExport
|
||||||
- dd
|
|
||||||
|
carrier-offers:
|
||||||
|
<<: *defaults-php
|
||||||
|
command: ./bin/console messenger:consume CarrierOffers
|
||||||
|
|
||||||
|
user-trust:
|
||||||
|
<<: *defaults-php
|
||||||
|
command: ./bin/console messenger:consume UserTrust
|
||||||
|
|
||||||
|
auction:
|
||||||
|
<<: *defaults-php
|
||||||
|
command: sh -c 'while true; do echo run; ./bin/console app:auction:process; sleep 60;done'
|
||||||
|
|
||||||
lms:
|
lms:
|
||||||
image: registry.dot-dot.ru/lms:${LMS_TAG}
|
image: registry.dot-dot.ru/lms:${LMS_TAG}
|
||||||
|
|
@ -65,8 +90,10 @@ services:
|
||||||
command: npm run start
|
command: npm run start
|
||||||
volumes:
|
volumes:
|
||||||
- ./configs/lms/.env:/app/.env
|
- ./configs/lms/.env:/app/.env
|
||||||
|
- ./configs/lms/entrypoint.sh:/entrypoint.sh
|
||||||
env_file:
|
env_file:
|
||||||
- ./configs/lms/.env
|
- ./configs/lms/.env
|
||||||
|
entrypoint: /entrypoint.sh
|
||||||
networks:
|
networks:
|
||||||
- dd
|
- dd
|
||||||
|
|
||||||
|
|
@ -76,23 +103,6 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- dd
|
- dd
|
||||||
|
|
||||||
help-platform:
|
|
||||||
image: registry.dot-dot.ru/help-platform:${HELP_TAG}
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- dd
|
|
||||||
|
|
||||||
nuxt:
|
|
||||||
image: registry.dot-dot.ru/front:${FRONT_TAG}
|
|
||||||
restart: unless-stopped
|
|
||||||
command: npm run start
|
|
||||||
volumes:
|
|
||||||
- ./configs/nuxt/.env:/app/.env
|
|
||||||
env_file:
|
|
||||||
- ./configs/nuxt/.env
|
|
||||||
networks:
|
|
||||||
- dd
|
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.25.3-alpine3.18
|
image: nginx:1.25.3-alpine3.18
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
@ -104,77 +114,15 @@ services:
|
||||||
- ./configs/nginx/other:/etc/nginx/other
|
- ./configs/nginx/other:/etc/nginx/other
|
||||||
- certbot_volume:/etc/letsencrypt
|
- certbot_volume:/etc/letsencrypt
|
||||||
- nginx_log_volume:/var/log/nginx
|
- nginx_log_volume:/var/log/nginx
|
||||||
ports:
|
|
||||||
- 80:80
|
|
||||||
- 443:443
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.nginx${NETWORK}.rule=Host(`${NETWORK}.dot-dot.ru`)"
|
|
||||||
- "traefik.http.services.nginx${NETWORK}.loadbalancer.server.port=80"
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- nuxt
|
- lms
|
||||||
- php
|
- php
|
||||||
- static
|
- static
|
||||||
networks:
|
networks:
|
||||||
- dd
|
dd:
|
||||||
- ingress
|
ingress:
|
||||||
|
aliases:
|
||||||
node-exporter:
|
- c2d-nginx
|
||||||
image: prom/node-exporter:v1.7.0
|
|
||||||
container_name: node-exporter
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /proc:/host/proc:ro
|
|
||||||
- /sys:/host/sys:ro
|
|
||||||
- /:/rootfs:ro
|
|
||||||
command:
|
|
||||||
- '--path.procfs=/host/proc'
|
|
||||||
- '--path.rootfs=/rootfs'
|
|
||||||
- '--path.sysfs=/host/sys'
|
|
||||||
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
|
|
||||||
networks:
|
|
||||||
- dd
|
|
||||||
|
|
||||||
cadvisor:
|
|
||||||
image: gcr.io/cadvisor/cadvisor:v0.47.2
|
|
||||||
restart: unless-stopped
|
|
||||||
container_name: cadvisor
|
|
||||||
volumes:
|
|
||||||
- /:/rootfs:ro
|
|
||||||
- /var/run:/var/run:ro
|
|
||||||
- /sys:/sys:ro
|
|
||||||
- /var/lib/docker/:/var/lib/docker:ro
|
|
||||||
- /dev/disk:/dev/disk:ro
|
|
||||||
devices:
|
|
||||||
- /dev/kmsg:/dev/kmsg
|
|
||||||
networks:
|
|
||||||
- dd
|
|
||||||
|
|
||||||
bookstack:
|
|
||||||
image: ghcr.io/linuxserver/bookstack:24.02.3
|
|
||||||
restart: unless-stopped
|
|
||||||
container_name: bookstack
|
|
||||||
environment:
|
|
||||||
- PUID=1000
|
|
||||||
- PGID=1000
|
|
||||||
- APP_URL="https://wiki.dot-dot.ru"
|
|
||||||
- DB_HOST=db
|
|
||||||
- DB_USER=root
|
|
||||||
- DB_PASS=${MYSQL_ROOT_PASSWORD}
|
|
||||||
- DB_DATABASE=bookstack
|
|
||||||
- MAIL_DRIVER=${MAIL_DRIVER}
|
|
||||||
- MAIL_HOST=${MAIL_HOST}
|
|
||||||
- MAIL_PORT=${MAIL_PORT}
|
|
||||||
- MAIL_USERNAME=${MAIL_USERNAME}
|
|
||||||
- MAIL_PASSWORD=${MAIL_PASSWORD}
|
|
||||||
- MAIL_ENCRYPTION=${MAIL_ENCRYPTION}
|
|
||||||
- MAIL_FROM=${MAIL_FROM}
|
|
||||||
- MAIL_FROM_NAME=${MAIL_FROM_NAME}
|
|
||||||
volumes:
|
|
||||||
- ./configs/bookstack:/config
|
|
||||||
#- bookstack_data_volume:
|
|
||||||
networks:
|
|
||||||
- dd
|
|
||||||
|
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
image: rabbitmq:3.12.1-management-alpine
|
image: rabbitmq:3.12.1-management-alpine
|
||||||
|
|
@ -209,3 +157,16 @@ services:
|
||||||
- "--redis.password=${REDIS_PASSWORD}"
|
- "--redis.password=${REDIS_PASSWORD}"
|
||||||
networks:
|
networks:
|
||||||
dd: {}
|
dd: {}
|
||||||
|
|
||||||
|
admin:
|
||||||
|
image: registry.dot-dot.ru/admin:${ADMIN_TAG}
|
||||||
|
restart: unless-stopped
|
||||||
|
command: sh -c 'php-fpm -D; nginx'
|
||||||
|
volumes:
|
||||||
|
- ./configs/admin/default:/etc/nginx/sites-enabled/default
|
||||||
|
- ./configs/admin/.env:/application/.env
|
||||||
|
- ./configs/nginx/ssl:/etc/nginx/ssl
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
networks:
|
||||||
|
dd:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
|
|
||||||
volume='/var/lib/docker/volumes/prod_php_var_volume/_data/log'
|
|
||||||
for x in $(sudo ls -l $volume | grep root | awk -F' ' '{print $9}');do
|
|
||||||
sudo chown 82:82 $volume/$x;
|
|
||||||
done
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
SS_CONTAINER='backup_db'
|
|
||||||
BACK_DIR='/var/tmp/db/backups'
|
|
||||||
|
|
||||||
# Remote backup
|
|
||||||
MYSQL_CRED='-uroot -pahwaireiNeebeeW9keiZ'
|
|
||||||
|
|
||||||
HOST=$(hostname -s)
|
|
||||||
DATABASES=$(docker exec -i -u root prod-db-1 mysql ${MYSQL_CRED} -s -AN -e 'show databases' | grep -vE "information_schema|analytics|performance_schema|trash|sys")
|
|
||||||
for database in ${DATABASES}; do
|
|
||||||
DUMPFILE="${database}.$(date +%a).sql.gz"
|
|
||||||
docker exec -i -u root prod-db-1 mysqldump ${MYSQL_CRED} --max_allowed_packet=1G --add-drop-table --single-transaction --extended-insert ${database} | gzip -c > $BACK_DIR/${DUMPFILE} 2>&1
|
|
||||||
rclone move $BACK_DIR/${DUMPFILE} selectel:backup_db/dot/${DUMPFILE}
|
|
||||||
#rm -vf $BACK_DIR/${DUMPFILE} 2>&1
|
|
||||||
done
|
|
||||||
Loading…
Reference in New Issue