mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 02:36:24 +03:00
Отредактированы скрипты запуска
This commit is contained in:
@@ -13,4 +13,5 @@ services:
|
|||||||
- ./:/dyxless
|
- ./:/dyxless
|
||||||
environment:
|
environment:
|
||||||
- FLASK_APP=dyxless
|
- FLASK_APP=dyxless
|
||||||
|
- PORT=${PORT}
|
||||||
|
|
||||||
@@ -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
4
runscripts/docker/buildandrun.sh
Normal file → Executable 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
0
runscripts/heroku/buildandpush.sh
Normal file → Executable file
0
runscripts/linux/startserverdev.sh
Normal file → Executable file
0
runscripts/linux/startserverdev.sh
Normal file → Executable file
@@ -1,6 +0,0 @@
|
|||||||
|
|
||||||
@echo off
|
|
||||||
|
|
||||||
set FLASK_APP=dyxless
|
|
||||||
|
|
||||||
gunicorn --bind 0.0.0.0:$PORT dyxless.__init__:app
|
|
||||||
Reference in New Issue
Block a user