Merge pull request #90 from Nico769/dev-indep
Fixes ytorg/Yotter#87 and removes redundant ports option
This commit is contained in:
commit
5fcbd167b0
@ -29,7 +29,8 @@ RUN flask db init \
|
|||||||
&& flask db migrate \
|
&& flask db migrate \
|
||||||
&& flask db upgrade
|
&& flask db upgrade
|
||||||
|
|
||||||
CMD flask db migrate \
|
CMD flask db stamp head \
|
||||||
|
&& flask db migrate \
|
||||||
&& flask db upgrade \
|
&& flask db upgrade \
|
||||||
&& gunicorn -b 0.0.0.0:5000 -w 4 yotter:app
|
&& gunicorn -b 0.0.0.0:5000 -w 4 yotter:app
|
||||||
|
|
||||||
|
@ -21,8 +21,6 @@ services:
|
|||||||
DATABASE_URL: mysql+pymysql://yotter:changeme@mariadb:3306/yotter
|
DATABASE_URL: mysql+pymysql://yotter:changeme@mariadb:3306/yotter
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
ports:
|
|
||||||
- "5000:5000"
|
|
||||||
volumes:
|
volumes:
|
||||||
- migrations:/usr/src/app/migrations
|
- migrations:/usr/src/app/migrations
|
||||||
- ./yotter-config.json:/usr/src/app/yotter-config.json
|
- ./yotter-config.json:/usr/src/app/yotter-config.json
|
||||||
|
Reference in New Issue
Block a user