Skip to content

Commit

Permalink
Adjusted docker-compose to work with the host machine; standard local…
Browse files Browse the repository at this point in the history
…host in settings for the database should now work. Also, added simplified requirements file.
  • Loading branch information
CheeseCake87 committed Sep 1, 2023
1 parent 60c3840 commit 005d196
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Use root/example as user/password credentials
version: '3.1'

services:
Expand All @@ -9,11 +8,9 @@ services:
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: traveller
ports:
- "3306:3306"
network_mode: "host"

adminer:
image: adminer
restart: always
ports:
- "8080:8080"
network_mode: "host"
28 changes: 28 additions & 0 deletions requirements/req-std.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
alembic==1.7.7
decorator==5.1.1
email-validator==1.1.3
faker==13.3.4
flask-admin==1.6.0
flask-login==0.6.0
flask-mailman==0.3.0
flask-marshmallow==0.14.0
flask-migrate==3.1.0
flask-reuploaded==1.2.0
flask-sqlalchemy==3.0.2
flask-wtf==1.0.1
icalendar==4.0.9
marshmallow==3.15.0
marshmallow-sqlalchemy==0.28.0
pymysql==1.0.2
pyparsing==3.0.8
python-dateutil==2.8.2
python-editor==1.0.4
pytz==2022.1
shopyo==4.8.6
sqlalchemy==1.4.35
sqlalchemy-utils==0.38.2
tzdata==2022.1
wtforms-components==0.10.5
wtforms==3.0.1
wtforms-alchemy==0.18.0
flask==2.2.2

0 comments on commit 005d196

Please sign in to comment.