Change structure to separate frontend and sql

update path of sql-data
This commit is contained in:
Marcel Schwarz 2020-03-14 20:21:40 +01:00
parent 93e11c22bf
commit 0507d27ebb
27 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
sql/db-data/**/*

View File

@ -7,17 +7,17 @@ services:
ports:
- "5455:3306"
volumes:
- "db-data:/var/lib/mysql"
- "./sql/db-data:/var/lib/mysql"
environment:
MYSQL_ROOT_PASSWORD: "Test"
webserver:
build:
context: .
context: ./frontend
ports:
- "80:80"
volumes:
- "./:/var/www/html"
- "./frontend:/var/www/html"
depends_on:
- db

View File

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 138 KiB

View File

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 135 KiB

View File

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 125 KiB