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: ports:
- "5455:3306" - "5455:3306"
volumes: volumes:
- "db-data:/var/lib/mysql" - "./sql/db-data:/var/lib/mysql"
environment: environment:
MYSQL_ROOT_PASSWORD: "Test" MYSQL_ROOT_PASSWORD: "Test"
webserver: webserver:
build: build:
context: . context: ./frontend
ports: ports:
- "80:80" - "80:80"
volumes: volumes:
- "./:/var/www/html" - "./frontend:/var/www/html"
depends_on: depends_on:
- db - 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