del old
This commit is contained in:
parent
555c73ebb3
commit
8886ca0f4b
|
|
@ -13,8 +13,6 @@ services:
|
|||
- seccomp:unconfined
|
||||
networks:
|
||||
- medicine-network
|
||||
volumes:
|
||||
- ./supervisor_confs:/supervisor_confs
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
set -e
|
||||
|
||||
docker pull docker.med-logic.ru/medicine-lis:latest
|
||||
|
||||
cd /root/medicine-config/medicine-stack
|
||||
docker-compose exec postgres psql -c 'CREATE DATABASE medicine_lis' --username=postgres
|
||||
|
||||
cat <<EOT >> /root/medicine-config/medicine-lis/.env
|
||||
EOT
|
||||
|
||||
cd /root/medicine-config/medicine-lis
|
||||
docker-compose run --rm medicine-lis python manage.py migrate
|
||||
docker-compose run --rm medicine-lis python manage.py post_install
|
||||
docker-compose up -d
|
||||
Loading…
Reference in New Issue