pass
This commit is contained in:
parent
e80b3f5f4b
commit
5274fa8209
24
Readme.md
24
Readme.md
|
|
@ -1,17 +1,4 @@
|
||||||
|
|
||||||
### Установка
|
|
||||||
|
|
||||||
> git clone https://ilya_muhortov@bitbucket.org/med-logic/medicine-config.git
|
|
||||||
|
|
||||||
> chmod +x ~/medicine-config/bash_scripts/docker-install.sh ~/medicine-config/bash_scripts/install.sh ~/medicine-config/medicine/run.sh
|
|
||||||
|
|
||||||
|
|
||||||
### Установка ssh сервера и git
|
|
||||||
|
|
||||||
> apt update
|
|
||||||
|
|
||||||
> apt install --assume-yes openssh-server
|
|
||||||
|
|
||||||
### Решение проблем
|
### Решение проблем
|
||||||
|
|
||||||
> Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`
|
> Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`
|
||||||
|
|
@ -55,3 +42,14 @@
|
||||||
на доступном сервере
|
на доступном сервере
|
||||||
|
|
||||||
ssh localhost -p 40022
|
ssh localhost -p 40022
|
||||||
|
|
||||||
|
|
||||||
|
### Crontab tasks
|
||||||
|
|
||||||
|
30 13 * * * /root/medicine-config/medicine-remd/update.sh
|
||||||
|
|
||||||
|
50 13 * * * /root/medicine-config/cron-tasks/backup_database_medicine_remd.sh
|
||||||
|
|
||||||
|
20 13 * * * /root/medicine-config/medicine/update.sh
|
||||||
|
|
||||||
|
55 13 * * * /root/medicine-config/cron-tasks/backup_database_medicine.sh
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
30 13 * * * /root/medicine-config/medicine-remd/update.sh
|
|
||||||
50 13 * * * /root/medicine-config/cron-tasks/backup_database_medicine_remd.sh
|
|
||||||
|
|
@ -19,8 +19,6 @@ services:
|
||||||
- ./public:/app/public
|
- ./public:/app/public
|
||||||
networks:
|
networks:
|
||||||
- medicine-network
|
- medicine-network
|
||||||
extra_hosts:
|
|
||||||
- "host.docker.internal:host-gateway"
|
|
||||||
logging:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
20 13 * * * /root/medicine-config/medicine/update.sh
|
|
||||||
55 13 * * * /root/medicine-config/cron-tasks/backup_database_medicine.sh
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
|
|
||||||
version: '3'
|
|
||||||
|
|
||||||
services:
|
|
||||||
|
|
||||||
app:
|
|
||||||
external_links:
|
|
||||||
- "tfoms-patient:patient-search-host"
|
|
||||||
- "service-thumbgen:service-thumbgen-host"
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
external_links:
|
|
||||||
- "tfoms-patient:patient-search-host"
|
|
||||||
- "service-thumbgen:service-thumbgen-host"
|
|
||||||
Loading…
Reference in New Issue