1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2024-07-16 16:57:18 +10:00
parent 247bf6d9cf
commit 0d58e7ac21
3 changed files with 8 additions and 1 deletions

View File

@ -11,8 +11,14 @@ services:
UWSGI_THREADS: 2
ports:
- "872:80"
networks:
- medicine-network
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
networks:
medicine-network:
external: true

View File

@ -15,7 +15,7 @@ read -p "Enter organization name: " ORGANIZATION_NAME
SECRET_KEY=$(openssl rand -base64 32)
cat <<EOT >> /root/medicine-config/medicine-remd/.env
cat <<EOT >> /root/medicine-config/service-messaging/.env
SECRET_KEY=$SECRET_KEY

View File

@ -4,3 +4,4 @@ set -e
docker pull docker.med-logic.ru/medicine-ntf:latest
docker-compose stop
docker-compose up -d
docker-compose run --rm service-messaging python manage.py migrate