From 9d99d1cc10ab5e013aa3195f6fdcdf8b482b1c83 Mon Sep 17 00:00:00 2001 From: Ilya Mukhortov Date: Tue, 9 Jan 2024 14:28:35 +1000 Subject: [PATCH] pass --- medicine-import/docker-compose.yml | 4 ++-- medicine-import/install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/medicine-import/docker-compose.yml b/medicine-import/docker-compose.yml index a765209..c533eda 100644 --- a/medicine-import/docker-compose.yml +++ b/medicine-import/docker-compose.yml @@ -19,8 +19,8 @@ services: - "875:80" networks: - medicine-network - extra_hosts: - - "host.docker.internal:host-gateway" + #extra_hosts: + # - "host.docker.internal:host-gateway" external_links: - "postgres:postgres-host" - "redis:redis-host" diff --git a/medicine-import/install.sh b/medicine-import/install.sh index f364e33..5f60fd0 100755 --- a/medicine-import/install.sh +++ b/medicine-import/install.sh @@ -5,7 +5,7 @@ echo "readonly" | docker login docker.med-logic.ru --username readonly --passwor docker pull docker.med-logic.ru/medicine-import:latest cd /root/medicine-config/medicine-stack -docker-compose exec postgres psql -c 'CREATE DATABASE IF NOT EXISTS medicine_import' --username=postgres +docker-compose exec postgres psql -c 'CREATE DATABASE medicine_import' --username=postgres cd /root/medicine-config/medicine-import docker-compose run --rm medicine-import python manage.py post_install