Browse Source

fin-v0.1

master
wengsy 4 years ago
parent
commit
2084147749
3 changed files with 25 additions and 0 deletions
  1. +19
    -0
      docker-compose.yml
  2. +1
    -0
      mysql/Dockerfile
  3. +5
    -0
      requirements.txt

+ 19
- 0
docker-compose.yml View File

@ -0,0 +1,19 @@
version: '3'
services:
mysql:
image: mysql:5.7
build: ./mysql
environment:
- MYSQL_DATABASE=cp
- MYSQL_ROOT_PASSWORD=cui,logic
ports:
- "3306:3306"
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
web:
build: ./APP
ports:
- "5000:5000"
links:
- mysql:mysql
depends_on:
- mysql

+ 1
- 0
mysql/Dockerfile View File

@ -0,0 +1 @@
FROM mysql:5.7

+ 5
- 0
requirements.txt View File

@ -0,0 +1,5 @@
Flask==1.1.2
pymongo==3.11.0
SQLAlchemy==1.3.22
requests==2.20.0
beautifulsoup4==4.9.3

Loading…
Cancel
Save