Отредактированы скрипты запуска

This commit is contained in:
2021-08-17 01:59:51 +03:00
parent ef42f93760
commit b81378424f
6 changed files with 10 additions and 6 deletions

View File

@@ -13,4 +13,5 @@ services:
- ./:/dyxless - ./:/dyxless
environment: environment:
- FLASK_APP=dyxless - FLASK_APP=dyxless
- PORT=${PORT}

View File

@@ -1,2 +1,7 @@
@echo off
set PORT=5000
docker-compose build docker-compose build
docker-compose up docker-compose up

4
runscripts/docker/buildandrun.sh Normal file → Executable file
View File

@@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
set echo off
export PORT=5000
docker-compose build docker-compose build
docker-compose up docker-compose up

0
runscripts/heroku/buildandpush.sh Normal file → Executable file
View File

0
runscripts/linux/startserverdev.sh Normal file → Executable file
View File

View File

@@ -1,6 +0,0 @@
@echo off
set FLASK_APP=dyxless
gunicorn --bind 0.0.0.0:$PORT dyxless.__init__:app